diff options
author | Franck Cuny <franck@fcuny.net> | 2022-01-23 18:49:53 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-01-23 18:49:53 -0800 |
commit | 25910d969dcdb4f8eb7383d0953dbd8b60d0dedf (patch) | |
tree | c0612fc63aa67c456a9f9e47f355ab8711a2767e /users/fcuny | |
parent | css: TOC location based on display's size (diff) | |
download | world-25910d969dcdb4f8eb7383d0953dbd8b60d0dedf.tar.gz |
layout: no need for a class to element 'article'
Diffstat (limited to 'users/fcuny')
-rw-r--r-- | users/fcuny/blog/layouts/_default/list.html | 2 | ||||
-rw-r--r-- | users/fcuny/blog/layouts/_default/single.html | 2 | ||||
-rw-r--r-- | users/fcuny/blog/layouts/index.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/users/fcuny/blog/layouts/_default/list.html b/users/fcuny/blog/layouts/_default/list.html index 6d1c04f..d2c59a7 100644 --- a/users/fcuny/blog/layouts/_default/list.html +++ b/users/fcuny/blog/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/users/fcuny/blog/layouts/_default/single.html b/users/fcuny/blog/layouts/_default/single.html index 524145a..fe2477e 100644 --- a/users/fcuny/blog/layouts/_default/single.html +++ b/users/fcuny/blog/layouts/_default/single.html @@ -38,7 +38,7 @@ </div> {{ end }} -<article class="article"> +<article> {{ .Content }} </article> diff --git a/users/fcuny/blog/layouts/index.html b/users/fcuny/blog/layouts/index.html index 523ad08..2ab8c40 100644 --- a/users/fcuny/blog/layouts/index.html +++ b/users/fcuny/blog/layouts/index.html @@ -1,6 +1,6 @@ {{ define "main" }} -<article class="article"> +<article> <h1>{{ .Site.Home.Title }}</h1> |