about summary refs log tree commit diff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html17
1 files changed, 14 insertions, 3 deletions
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 @@
 		<h1 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}">{{ trim .Title  " " }}</h1>
 	</header>
 	<div class="content e-content">
+		<!-- Comics-->
+		{{ if in .Params.categories "comics" }}
+		<center>
+		{{ partial "comicNav.html" . }}
 		{{ .Content }}
-		{{ if in .Params.categories "book review" }}
-		<hr>
-		{{ i18n "BookShare" }}
+		{{ partial "comicNav.html" . }}
+		<center>
+		{{ else }}
+		<!-- normal content -->
+		{{ .Content }}
+			<!-- book reviews -->
+			{{ if in .Params.categories "book review" }}
+			<hr>
+			{{ i18n "BookShare" }}
+			{{ end }}
 		{{ end }}
 	</div>
 	{{ partial "postInfo.html" . }}