From a1a5e22cce5da1d3c2df63abc4c284a44dc065b5 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Tue, 8 Jun 2021 22:11:32 +0700 Subject: Add layout for comics --- layouts/_default/single.html | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'layouts/_default') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b3783eb..2c87ed3 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -12,10 +12,21 @@

{{ trim .Title " " }}

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