From a1b8bbbfba38335b9a86a9da303bdea2d2a44b9e Mon Sep 17 00:00:00 2001 From: Pat Dryburgh Date: Sun, 12 Aug 2018 15:12:53 -0700 Subject: [PATCH] minor tweaks and improvements --- _layouts/home.html | 4 +++- _sass/_masthead.scss | 2 +- _sass/_post-list.scss | 8 +++++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/_layouts/home.html b/_layouts/home.html index d187bf3..08895cd 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -2,7 +2,9 @@ layout: default --- -{% if site.paginate and site.paginate_path and paginator.page > 1 %} +{% if site.data.menu and site.paginate and site.paginate_path and paginator.page > 1 %} + {% include menu.html %} +{% elsif site.paginate and site.paginate_path and paginator.page > 1 %} {% include back-link.html %} {% else %}
diff --git a/_sass/_masthead.scss b/_sass/_masthead.scss index efeb072..44f0e26 100644 --- a/_sass/_masthead.scss +++ b/_sass/_masthead.scss @@ -21,7 +21,7 @@ .site-masthead h2 { color: $muted-text-color; - font-size: 1.5em; + font-size: 1.25em; margin: 0; @media (min-width: $on-tablet) { font-size: 3em; diff --git a/_sass/_post-list.scss b/_sass/_post-list.scss index 36190b0..6a7f3b1 100644 --- a/_sass/_post-list.scss +++ b/_sass/_post-list.scss @@ -3,6 +3,10 @@ list-style: none; } +.post-list li { + margin-bottom: 1em; +} + .post-link { color: $text-color; display: flex; @@ -22,7 +26,9 @@ .post-link__heading { display: block; margin-right: 4em; - padding: .25em 0; + @media (min-width: $on-tablet) { + padding: .25em 0; + } } .post-link__title + .post-link__excerpt {