From c4bc398a719d10327325b25524a116413f7c30cd Mon Sep 17 00:00:00 2001 From: JP Appel Date: Mon, 6 May 2024 15:24:30 -0400 Subject: updated base template to include meta info about the page --- layouts/_default/baseof.html | 3 +-- layouts/partials/page_info.html | 8 ++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 layouts/partials/page_info.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3b9bdf9..f1f63a1 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,12 +5,11 @@ {{ .Title }} - + {{- partial "page_info.html" . -}} - {{ if .Params.math }} {{- partial "katex.html" . -}} {{ end }} diff --git a/layouts/partials/page_info.html b/layouts/partials/page_info.html new file mode 100644 index 0000000..1b7582f --- /dev/null +++ b/layouts/partials/page_info.html @@ -0,0 +1,8 @@ + + +{{ with .Params.description }} + +{{ end }} +{{ with .Params.tags }} + +{{ end }} -- cgit v1.2.3