From a618aad932e74985f983d7b7dd0e5d97cb385cee Mon Sep 17 00:00:00 2001 From: Yurizal Susanto Date: Mon, 2 Apr 2018 22:47:56 +0700 Subject: Add new class to post navigation Add margin-bottom to the new class --- layouts/_default/single.html | 7 ++++--- static/css/ui.css | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b794c7b..097bea7 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,21 +2,22 @@
{{ partial "title" . }}
{{ .Content }} -
+{{ partial "related" . }} {{ if in .Site.Params.DisqusSections .Section }} {{ partial "disqus" . }} {{ end }} diff --git a/static/css/ui.css b/static/css/ui.css index 152a3ad..80e9cde 100644 --- a/static/css/ui.css +++ b/static/css/ui.css @@ -276,6 +276,9 @@ blockquote cite a { } } +.post-nav { + margin-bottom: 2rem; +} .next-post { display: block; text-align: right; -- cgit v1.2.3