about summary refs log tree commit diff
path: root/users/fcuny
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-01-23 18:14:12 -0800
committerFranck Cuny <franck@fcuny.net>2022-01-23 18:14:12 -0800
commitd2b9b82210d6960c8c2101b1e7a7c45008a5a50a (patch)
treea113bfdcbe8f959ab46fc2923d8459f53bc0d07b /users/fcuny
parentlayout: drop the div 'main' (diff)
downloadworld-d2b9b82210d6960c8c2101b1e7a7c45008a5a50a.tar.gz
layout: wrap content in an "article" tag
Diffstat (limited to 'users/fcuny')
-rw-r--r--users/fcuny/blog/layouts/_default/list.html4
-rw-r--r--users/fcuny/blog/layouts/index.html4
2 files changed, 8 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 }}
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" }}
 
+<article class="article">
+
 <h1>{{ .Site.Home.Title }}</h1>
 
 <p>I'm an engineer currently on a break. Previously I was a Site Reliability Engineer working on Twitter's compute platform.</p>
@@ -12,4 +14,6 @@
   <li>Keys: <a href="/ssh.pub.sig">SSH public keys</a></li>
 </ul>
 
+</article>
+
 {{ end }}