From d2b9b82210d6960c8c2101b1e7a7c45008a5a50a 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/blog/layouts/_default/list.html | 4 ++++ users/fcuny/blog/layouts/index.html | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'users/fcuny') 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" }} +
+ {{ $pgs := where .Data.Pages "Params.hidden" "ne" "true" }} {{ partial "postlist" $pgs }} +
+ {{ end }} diff --git a/users/fcuny/blog/layouts/index.html b/users/fcuny/blog/layouts/index.html index 21a86b8..523ad08 100644 --- a/users/fcuny/blog/layouts/index.html +++ b/users/fcuny/blog/layouts/index.html @@ -1,5 +1,7 @@ {{ define "main" }} +
+

{{ .Site.Home.Title }}

I'm an engineer currently on a break. Previously I was a Site Reliability Engineer working on Twitter's compute platform.

@@ -12,4 +14,6 @@
  • Keys: SSH public keys
  • +
    + {{ end }} -- cgit 1.4.1