From 722233edabd9f6cebc1696a9e8f8501de8786d2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Mon, 29 May 2023 16:06:13 -0400 Subject: [PATCH] layout stuffz --- layouts/_default/baseof.html | 1 + .../partials/docs/inject/before-title.html | 0 layouts/partials/docs/inject/toc-before.html | 31 +++++++++++++++++++ layouts/partials/quartz/contact.html | 4 +-- layouts/partials/quartz/date-fmt.html | 4 +-- .../partials/quartz/fics/author-notes.html | 0 layouts/partials/quartz/footer.html | 4 +-- layouts/partials/quartz/post-meta.html | 0 8 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 layouts/partials/docs/inject/before-title.html create mode 100644 layouts/partials/quartz/fics/author-notes.html create mode 100644 layouts/partials/quartz/post-meta.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c2680ff..66717fc 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -72,6 +72,7 @@ {{ define "main" }}

{{ partial "docs/title.html" . }}

+ {{ partial "docs/inject/before-title.html" . }} {{partial "quartz/textprocessing" . }} {{ partial "quartz/footer" .}} {{/* {{- .Content -}} */}} diff --git a/layouts/partials/docs/inject/before-title.html b/layouts/partials/docs/inject/before-title.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/docs/inject/toc-before.html b/layouts/partials/docs/inject/toc-before.html index e69de29..9ca3c64 100644 --- a/layouts/partials/docs/inject/toc-before.html +++ b/layouts/partials/docs/inject/toc-before.html @@ -0,0 +1,31 @@ +
+
+
+ {{if or (eq .Type "writing") (eq .Type "fic")}} +
+ Words: + + {{.WordCount}} + +
+ {{end}} +
+
+ +
+
+

+ tags +

+
+
+ {{ range $.Params.tags }} + + {{ end }} +
+
+
\ No newline at end of file diff --git a/layouts/partials/quartz/contact.html b/layouts/partials/quartz/contact.html index d279eb5..dcad818 100644 --- a/layouts/partials/quartz/contact.html +++ b/layouts/partials/quartz/contact.html @@ -8,9 +8,9 @@ {{ $year := dateFormat "2006" now }}

{{ i18n "copyright" (dict "name" $name "year" $year) | safeHTML}}