From 656d32529018d8965ad68633d42e85913baad47d Mon Sep 17 00:00:00 2001 From: anoduck <11767-anoduck@users.noreply.gitgud.io> Date: Wed, 25 Sep 2024 23:13:13 -0400 Subject: photos, layout, cleanup added photo thumbnails to posts, cleanup links, restructured layout, added pdf module. --- layouts/partials/.gitkeep | 0 layouts/partials/footer/footer.html | 45 +++++++++++++++++++++++++++++++++++++ layouts/partials/footer/social.html | 1 + 3 files changed, 46 insertions(+) create mode 100644 layouts/partials/.gitkeep create mode 100644 layouts/partials/footer/footer.html create mode 100644 layouts/partials/footer/social.html (limited to 'layouts/partials') diff --git a/layouts/partials/.gitkeep b/layouts/partials/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html new file mode 100644 index 0000000..8f9358d --- /dev/null +++ b/layouts/partials/footer/footer.html @@ -0,0 +1,45 @@ +{{- $version := partial "assets/version.html" . -}} +{{- $license := .Site.Params.footer.license | safeHTML -}} +{{- $description := .Site.Params.main.description | safeHTML -}} +{{- $title := site.Title -}} +{{- $baseurl := urls.Parse $.Site.Params.Baseurl -}} + +{{- $page := . -}} +{{- if not $page -}} + {{- errorf "partial [footer/footer.html] - Missing value for param 'page'" -}} +{{- end -}} + +{{- $menuName := "footer" }} +{{- $menus := index site.Menus $menuName -}} +{{- if or (ne (printf "%T" $menus) "navigation.Menu") (ne (index $menus 0).Menu $menuName) -}} + {{- errorf "partial [footer/footer.html] - Invalid value for param 'menus': %s" $menuName -}} +{{- end -}} + + \ No newline at end of file diff --git a/layouts/partials/footer/social.html b/layouts/partials/footer/social.html new file mode 100644 index 0000000..99bacc5 --- /dev/null +++ b/layouts/partials/footer/social.html @@ -0,0 +1 @@ + -- cgit v1.2.3