From b7ebd81194a90da19771ea0ffd794163f8fe3d8c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 23 Jan 2022 18:14:12 -0800 Subject: layout: wrap content in an "article" tag --- users/fcuny/notes/layouts/_default/list.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'users/fcuny/notes/layouts/_default/list.html') diff --git a/users/fcuny/notes/layouts/_default/list.html b/users/fcuny/notes/layouts/_default/list.html index 2b7d98a..6d1c04f 100644 --- a/users/fcuny/notes/layouts/_default/list.html +++ b/users/fcuny/notes/layouts/_default/list.html @@ -1,6 +1,10 @@ {{ define "main" }} +
+ {{ $pgs := where .Data.Pages "Params.hidden" "ne" "true" }} {{ partial "postlist" $pgs }} +
+ {{ end }} -- cgit 1.4.1