From 55617f2b590059963da9dd27ab6cf1034fec113d Mon Sep 17 00:00:00 2001 From: Matthias Loibl Date: Fri, 23 Dec 2016 19:58:45 +0100 Subject: [PATCH] The blog content shall not be that wide, but more readable --- layouts/post/list.html | 2 +- layouts/post/single.html | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/layouts/post/list.html b/layouts/post/list.html index 288663e..5ca1739 100644 --- a/layouts/post/list.html +++ b/layouts/post/list.html @@ -3,7 +3,7 @@
-
+
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}{{ range $paginator.Pages }}
diff --git a/layouts/post/single.html b/layouts/post/single.html index b21ca68..4172c88 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -3,7 +3,7 @@
-
+

@@ -23,14 +23,16 @@

{{ .Content }} + + {{ if .Site.DisqusShortname }} +
+
+ {{ partial "disqus.html" . }} +
+
+ {{ end }}
- - {{ if .Site.DisqusShortname }} -
- {{ partial "disqus.html" . }} -
- {{ end }}