diff options
Diffstat (limited to 'layouts/news/list.html')
-rw-r--r-- | layouts/news/list.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/news/list.html b/layouts/news/list.html new file mode 100644 index 0000000..67eb4fb --- /dev/null +++ b/layouts/news/list.html @@ -0,0 +1,7 @@ +{{define "main"}} +<h1>News Index</h1> +{{ range .Pages }} +<h2><a href="{{.Permalink}}">{{.Date.Format "Jan 02, 2006"}}</a></h2> +<p>{{ .Content }}</p> +{{ end }} +{{ end }} |