From f708b6d62a9f006ab0b23b5ca85e893c7a7c9cc3 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Sun, 4 Jul 2021 22:14:17 +0700 Subject: Separate the comic to its own layout --- layouts/_default/single.html | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 977c203..c2ef2cf 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -9,30 +9,15 @@
- {{ if in .Params.categories "comics" }} -
- {{ end}}

{{ trim .Title " " }}

- {{ if in .Params.categories "comics" }} -
- {{ end}}
- - {{ if in .Params.categories "comics" }} -
- {{ partial "comicNav.html" . }} - {{ .Content }} - {{ partial "comicNav.html" . }} -
- {{ else }} {{ .Content }} - - {{ if in .Params.categories "book review" }} -
- {{ i18n "BookShare" }} - {{ end }} + + {{ if in .Params.categories "book review" }} +
+ {{ i18n "BookShare" }} {{ end }}
{{ partial "postInfo.html" . }} -- cgit 1.4.1