diff options
Diffstat (limited to 'layouts/blog/list.html')
-rw-r--r-- | layouts/blog/list.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html new file mode 100644 index 0000000..345b5f9 --- /dev/null +++ b/layouts/blog/list.html @@ -0,0 +1,10 @@ +{{ partial "head.html" . }} +<h1>My Blogs</h1> +<hr> +{{ range (where (where .Site.RegularPages "Section" "blog") "Params.nohtml" "!=" "true") }} +<div class="list p-3 rounded-3"> +<a href="{{.Permalink}}">{{.Title}}</a> +<span><br>{{.Date.Format "January 2, 2006"}}</span> +</div> +{{ end }} +{{ partial "foot.html" . }} |