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..f730d59 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,14 @@ +{{ define "main" }} +<h1>{{ .Page.Title }}</h1> +<br/> +{{ .Content }} + +{{ range sort .Data.Pages "Date" "desc" }} + {{ if not .Params.private }} + <div class="post-list-date">{{ .PublishDate.Format "Jan. 2, 2006" }}</div> + <h1><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1> + {{ .Summary }} + {{ end }} +{{ end }} + +{{ end }}
\ No newline at end of file |