about summary refs log tree commit diff
path: root/layouts
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2021-06-13 09:27:31 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2021-06-13 09:27:31 +0700
commit687e0787abcd9b019da285534764acdab5e262df (patch)
tree703d369a84b442078d078b8a4cc3948336463f4c /layouts
parent41604347695c7fc154b74832de7015de4c1af039 (diff)
downloadblog-687e0787abcd9b019da285534764acdab5e262df.tar.gz
Align center for comics
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html6
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-->