diff options
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r-- | layouts/_default/list.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..ffe85da --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,14 @@ +{{ partial "header.html" . }} +<div class="content"> + {{ if not .IsHome }} + <h1>{{ .Title | markdownify }}</h1> + {{ end }} + <ul> + {{ range (where .Data.Pages "Section" "!=" "") }} + <li>{{ .Date.Format "January 2, 2006" }} + <a href="{{ .URL }}">{{ .Title | markdownify }}</a> + </li> + {{ end }} + </ul> +</div> +{{ partial "footer.html" . }} |