From ec9d8921713a8efae445299ca9a30f741c905da3 Mon Sep 17 00:00:00 2001 From: tdro Date: Sat, 28 Jan 2023 23:19:09 -0500 Subject: themes/default/layouts/_default: Name spacing Make list.html -> index.html and identify sections by name. Ignore Deno vendor folder. --- themes/default/layouts/_default/index.html | 37 ++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 themes/default/layouts/_default/index.html (limited to 'themes/default/layouts/_default/index.html') diff --git a/themes/default/layouts/_default/index.html b/themes/default/layouts/_default/index.html new file mode 100644 index 0000000..3fc93ce --- /dev/null +++ b/themes/default/layouts/_default/index.html @@ -0,0 +1,37 @@ +{{ define "styles" }} + +{{ end }} + +{{ define "middle" }} + + {{ partial "navigator-middle.html" + (dict + "Title" "Home" + "Subtitle" (partial "count-total-messages.html" .) + "Context" . + ) + }} + + {{ range .Paginator.Pages }} + {{ .Render "summary" }} + {{ end }} + + {{ partial "pagination.html" . }} + +{{ end }} + +{{ define "right" }} + {{- partial "author-list.html" . -}} + + {{ range first 1 (where .Site.Pages "Params.Author" .Site.Author.default.picturegallery) }} + {{- partial "gallery.html" . -}} + {{ end }} + + {{ range first 1 (where .Site.Pages "Params.Author" .Site.Author.default.webring) }} + {{- partial "following-list.html" . -}} + {{- partial "webring.html" . -}} + {{ end }} + +{{ end }} -- cgit v1.2.3