From 781bfd9421457b8b652ac5c99b160eb4aaf70d20 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Fri, 16 Apr 2021 17:21:11 -0700 Subject: [PATCH] more minor spacing adjustments, and add next/previous blog post.. --- content/media/css/custom.css | 13 ++++++++++++- layout/blog.j2 | 19 ++++++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/content/media/css/custom.css b/content/media/css/custom.css index d8c5928..991bdf3 100644 --- a/content/media/css/custom.css +++ b/content/media/css/custom.css @@ -2,6 +2,15 @@ font-size: 80%; } +.prevnext { + text-align: center; +} + +p.posted { + margin-top: .5em; + margin-bottom: .5em; +} + a.headerlink { /* give some space to para links */ margin-left: .2em; @@ -14,7 +23,9 @@ a.headerlink { } ul.tags { - list-style-type: none; + list-style-type: none; + margin-top: .2em; + margin-bottom: .2em; } ul.tags li { diff --git a/layout/blog.j2 b/layout/blog.j2 index b7abd26..58de8fe 100644 --- a/layout/blog.j2 +++ b/layout/blog.j2 @@ -8,7 +8,7 @@

{{ resource.meta.title }}

-

Posted: {{ resource.meta.created.strftime('%B %e, %Y') }} at {{ resource.meta.time }}

+

Posted: {{ resource.meta.created.strftime('%B %e, %Y') }} at {{ resource.meta.time }}

{% if resource.meta.tags %}