From 2b5840dc1d8716d0278c5511e2d9b0764b208d78 Mon Sep 17 00:00:00 2001 From: Romain de Laage Date: Sat, 25 Jul 2020 15:00:53 +0200 Subject: [PATCH] Add a ref to the theme in the footer --- layouts/partials/docs/footer.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 layouts/partials/docs/footer.html diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html new file mode 100644 index 0000000..14ef0da --- /dev/null +++ b/layouts/partials/docs/footer.html @@ -0,0 +1,28 @@ +
+{{ if .Site.IsMultiLingual }} + {{ partial "docs/languages" . }} +{{ end }} + +{{ if and .GitInfo .Site.Params.BookRepo }} +
+ {{- $date := partial "docs/date" (dict "Date" .GitInfo.AuthorDate.Local "Format" .Site.Params.BookDateFormat) -}} + + Calendar + {{ $date }} + +
+{{ end }} + +{{ if and .File .Site.Params.BookRepo .Site.Params.BookEditPath }} +
+ + Edit + {{ i18n "Edit this page" }} + +
+{{ end }} +
+
+
+Generated with hugo-book theme +