diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-06-13 09:27:31 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-06-13 09:27:31 +0700 |
commit | 687e0787abcd9b019da285534764acdab5e262df (patch) | |
tree | 703d369a84b442078d078b8a4cc3948336463f4c /layouts | |
parent | 41604347695c7fc154b74832de7015de4c1af039 (diff) | |
download | blog-687e0787abcd9b019da285534764acdab5e262df.tar.gz |
Align center for comics
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2c87ed3..977c203 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -9,7 +9,13 @@ <article class="post h-entry"> <header class="post-header"> + {{ if in .Params.categories "comics" }} + <center> + {{ end}} <h1 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}">{{ trim .Title " " }}</h1> + {{ if in .Params.categories "comics" }} + </center> + {{ end}} </header> <div class="content e-content"> <!-- Comics--> |