Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hivickylai/hugo-theme-sam.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pug/_default/list.pug')
-rw-r--r--pug/_default/list.pug19
1 files changed, 10 insertions, 9 deletions
diff --git a/pug/_default/list.pug b/pug/_default/list.pug
index 91386e1..aa790f2 100644
--- a/pug/_default/list.pug
+++ b/pug/_default/list.pug
@@ -5,16 +5,17 @@ body
.section#content
h1 {{ .Title }}
p {{ .Content }}
- | {{ range .Data.Pages }}
- li
- |
- | {{ if .Params.showDate }}
- |
- | {{ .Date.Format (.Site.Params.dateForm | default "Mon Jan 02, 2006")}} --
- |
+ ul
+ | {{ range .Data.Pages }}
+ li
+ |
+ | {{ if .Params.showDate }}
+ |
+ | {{ .Date.Format (.Site.Params.dateForm | default "Mon Jan 02, 2006")}} --
+ |
+ | {{ end }}
+ a(href='{{.Permalink}}') {{.Title}}
| {{ end }}
- a(href='{{.Permalink}}') {{.Title}}
- | {{ end }}
| {{ if .Site.Params.mainMenu }}
.section.bottom-menu
hr