From 5598592cfde8aeb9f907a6c9e9fdda8245cbf0c2 Mon Sep 17 00:00:00 2001
From: John O'Nolan <john@onolan.org>
Date: Mon, 18 Nov 2019 19:35:41 +0700
Subject: [PATCH] Correct alignment bug for readmore

Container has to always be present otherwise grid doesn't position correctly
---
 post.hbs | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/post.hbs b/post.hbs
index 8dca7e18..fd79d979 100644
--- a/post.hbs
+++ b/post.hbs
@@ -39,16 +39,14 @@
 
 <aside class="gh-readmore">
     <div class="gh-container">
-        {{#next_post}}
-            <div class="gh-readmore-next">
-                <a href="{{url}}">{{> "icons/arrow-left"}} <h4>{{title}}</h4></a>
-            </div>
-        {{/next_post}}
-        {{#prev_post}}
-            <div class="gh-readmore-prev">
-                <a href="{{url}}"><h4>{{title}}</h4> {{> "icons/arrow-right"}}</a>
-            </div>
-        {{/prev_post}}
+        <div class="gh-readmore-next">
+            {{#next_post}}<a href="{{url}}">{{> "icons/arrow-left"}} <h4>{{title}}</h4></a>{{/next_post}}
+        </div>
+        <div class="gh-readmore-prev">
+            {{#prev_post}}<a href="{{url}}">
+                <h4>{{title}}</h4> {{> "icons/arrow-right"}}
+            </a>{{/prev_post}}
+        </div>
     </div>
 </aside>