From 60fe49ea3af38d4a7d5e8de1cdb72887b167b22d Mon Sep 17 00:00:00 2001 From: gabrielgio Date: Sat, 11 Jul 2020 22:35:14 +0200 Subject: Moving from jekyll to hugo --- themes/flamingo/layouts/_default/list.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 themes/flamingo/layouts/_default/list.html (limited to 'themes/flamingo/layouts/_default/list.html') diff --git a/themes/flamingo/layouts/_default/list.html b/themes/flamingo/layouts/_default/list.html new file mode 100644 index 0000000..bdb11bb --- /dev/null +++ b/themes/flamingo/layouts/_default/list.html @@ -0,0 +1,17 @@ +{{ define "main" }} +
+ {{ if (or (eq .Page.Name "Posts") (.Page.IsHome)) }} + {{ partial "post-description.html" }} + {{ else if (eq .Page.Name "Logs") }} + {{ partial "log-description.html" }} + {{ end }} + +
+ {{ range .Paginator.Pages }} + {{ .Render "summary" }} + {{ end }} +
+ +
+ +{{ end }} -- cgit v1.2.3