diff options
author | Franck Cuny <franck@fcuny.net> | 2022-01-23 18:14:12 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-01-23 18:14:12 -0800 |
commit | d2b9b82210d6960c8c2101b1e7a7c45008a5a50a (patch) | |
tree | a113bfdcbe8f959ab46fc2923d8459f53bc0d07b /users/fcuny/blog/layouts/_default/list.html | |
parent | layout: drop the div 'main' (diff) | |
download | world-d2b9b82210d6960c8c2101b1e7a7c45008a5a50a.tar.gz |
layout: wrap content in an "article" tag
Diffstat (limited to 'users/fcuny/blog/layouts/_default/list.html')
-rw-r--r-- | users/fcuny/blog/layouts/_default/list.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/users/fcuny/blog/layouts/_default/list.html b/users/fcuny/blog/layouts/_default/list.html index 2b7d98a..6d1c04f 100644 --- a/users/fcuny/blog/layouts/_default/list.html +++ b/users/fcuny/blog/layouts/_default/list.html @@ -1,6 +1,10 @@ {{ define "main" }} +<article class="article"> + {{ $pgs := where .Data.Pages "Params.hidden" "ne" "true" }} {{ partial "postlist" $pgs }} +</article> + {{ end }} |