about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-01-23 18:49:53 -0800
committerFranck Cuny <franck@fcuny.net>2022-01-23 18:49:53 -0800
commitc415e4a1e5525bd603d8f143ec7f149d8f1513c7 (patch)
treeeab3913abdaa9acbf02e7eb0d8a0fe28b2fbd867
parentcss: TOC location based on display's size (diff)
downloadfcuny.net-c415e4a1e5525bd603d8f143ec7f149d8f1513c7.tar.gz
layout: no need for a class to element 'article'
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/index.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 6d1c04f..d2c59a7 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,6 +1,6 @@
 {{ define "main" }}
 
-<article class="article">
+<article>
 
   {{ $pgs := where .Data.Pages "Params.hidden" "ne" "true" }}
   {{ partial "postlist" $pgs }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 524145a..fe2477e 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -38,7 +38,7 @@
 </div>
 {{ end }}
 
-<article class="article">
+<article>
 {{ .Content }}
 </article>
 
diff --git a/layouts/index.html b/layouts/index.html
index 523ad08..2ab8c40 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,6 @@
 {{ define "main" }}
 
-<article class="article">
+<article>
 
 <h1>{{ .Site.Home.Title }}</h1>