From 1147a663e70aadb2578cbe601bc723d7cd939c5a Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Sat, 30 Aug 2025 15:17:32 +0200 Subject: added non-content --- layouts/partials/docs/inject/content-before.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 layouts/partials/docs/inject/content-before.html (limited to 'layouts/partials/docs/inject/content-before.html') diff --git a/layouts/partials/docs/inject/content-before.html b/layouts/partials/docs/inject/content-before.html new file mode 100644 index 0000000..d33168e --- /dev/null +++ b/layouts/partials/docs/inject/content-before.html @@ -0,0 +1,21 @@ +
+{{ if not .IsHome}} + {{ if .Title }} +

{{ .Title }}

+ {{ else }} +

{{ .Site.Title }}

+ {{ end }} + {{ if and .GitInfo .Site.Params.BookRepo }} +
+ {{- $date := partial "docs/date" (dict "Date" .GitInfo.AuthorDate.Local "Format" .Site.Params.BookDateFormat) -}} + + + + + + {{ $date | lower }} + +
+ {{ end }} +{{ end }} +
-- cgit v1.2.3