From 5562e320736812d1ad309cfaf73383512a87858d Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Mon, 18 Dec 2023 19:41:51 -0500 Subject: Migrate to Hugo. This is a big and somewhat complicated decision, but the crux of it is this: The _mkdocs_ tool embeds a ton of "I am writing a manual" assumptions about document structure. These assumptions include that there is a single, sitewide TOC, that a top nav bar is broadly an appropriate way to skip around in the document, and numerous others. They serve that use case well, but that's not really what this site _is_, or how I intend it to be approached. I'm trying for something more blog-esque (and deliberately a bit haphazard). Hugo is an experiment. This commit migrates most pages to it, but it does drop a few; this is a convenient excuse to forget items I'd prefer not to continue publishing. --- layouts/_default/baseof.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 layouts/_default/baseof.html (limited to 'layouts/_default/baseof.html') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..c665429 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,33 @@ + + + + {{- block "title" . }}{{ .Site.Title }} + {{- if .Title }} - {{ .Title }}{{ end }} + {{- end }} + {{- with .OutputFormats.Get "rss" }} + + {{- end }} + + + {{- block "header" . }} + {{- if .Title }} +
+

{{ .Title }}

+ {{- if .PublishDate }} +

{{ .PublishDate | time.Format ":date_medium" }}

+ {{- end }} +
+ {{- end }} + {{- end }} + + {{- block "main" . }} + {{- .Content }} + {{- end }} + + {{- with .Parent }} + + {{- end }} + + -- cgit v1.2.3