diff options
Diffstat (limited to 'themes/default/layouts/_default/list.html')
-rw-r--r-- | themes/default/layouts/_default/list.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/themes/default/layouts/_default/list.html b/themes/default/layouts/_default/list.html new file mode 100644 index 0000000..f35f275 --- /dev/null +++ b/themes/default/layouts/_default/list.html @@ -0,0 +1,29 @@ +{{ define "styles" }} +<style> + {{ partial "styles-navigator.html" (dict "Link" "/") | safeCSS }} +</style> +{{ end }} + +{{ define "middle" }} + + {{ partial "navigator-middle.html" + (dict + "Title" "Home" + "Subtitle" (partial "count-total-messages.html" .) + "Context" . + ) + }} + + {{ range where .Paginator.Pages ".Params.hidden" "ne" "true" }} + {{ .Render "summary" }} + {{ end }} + + {{ partial "pagination.html" . }} + +{{ end }} + +{{ define "right" }} + {{ range first 1 (where .Site.Pages "Params.Author" .Site.Author.default.webring) }} + {{- partial "navigator-right.html" . -}} + {{ end }} +{{ end }} |