about summary refs log tree commit diff
path: root/layouts/_default
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2021-05-02 22:35:12 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2021-05-02 22:35:12 +0700
commitbcf946428879b85b089296d1a1f1f3bd00cd6fec (patch)
tree803ee7be766c89f9d1dbeebd4dfd4dc4fa6bda4c /layouts/_default
parenta1da654f3045fac0d727a40fd404313bc3d3ea4d (diff)
downloadblog-bcf946428879b85b089296d1a1f1f3bd00cd6fec.tar.gz
Edit layout for book review categories
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index f74ec16..b3783eb 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -13,14 +13,19 @@
 	</header>
 	<div class="content e-content">
 		{{ .Content }}
+		{{ if in .Params.categories "book review" }}
+		<hr>
+		{{ i18n "BookShare" }}
+		{{ end }}
 	</div>
 	{{ partial "postInfo.html" . }}
 </article>
 
 {{ if and (.Site.Params.paginationSinglePost) (ne .Type "page") }}
-{{ partial "paginationPost.html" . }}
+	{{ partial "paginationPost.html" . }}
 {{ end }}
 
+
 {{ partial "custom-webring.html" }}
 
 {{ end }}