diff --git a/assets/css/styles.css b/assets/css/styles.css index 212806b..9d1bbac 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -1,3 +1,4 @@ + @import url('https://fonts.googleapis.com/css?family=Exo+2:300,400,500&display=swap'); @tailwind base; @@ -52,12 +53,12 @@ header { } @screen md { #post .kg-width-wide .kg-image { - min-width: 125%; + min-width: 115%; } } @screen lg { #post .kg-width-wide .kg-image { - min-width: 175%; + min-width: 125%; } } @screen xl { diff --git a/author.hbs b/author.hbs index 179526d..06634c6 100644 --- a/author.hbs +++ b/author.hbs @@ -50,8 +50,8 @@ {{/author}} -
-{{#foreach posts}} - {{> "post-card"}} -{{/foreach}} +
+ {{#foreach posts}} + {{> "post-card"}} + {{/foreach}}
diff --git a/default.hbs b/default.hbs index dd92f1a..996ab50 100644 --- a/default.hbs +++ b/default.hbs @@ -13,8 +13,9 @@ {{ghost_head}} - - {{{body}}} +
+ {{{body}}} +
-
-
+
+
+
{{content}}
+
{{/post}} diff --git a/partials/post-background.hbs b/partials/post-background.hbs index a084dce..4a0d74f 100644 --- a/partials/post-background.hbs +++ b/partials/post-background.hbs @@ -24,10 +24,10 @@ with a `no-image` class so we can style it accordingly. } } -
+
{{else}} -
+
{{/if}} diff --git a/partials/post-card.hbs b/partials/post-card.hbs index 8a1b223..a0f7119 100644 --- a/partials/post-card.hbs +++ b/partials/post-card.hbs @@ -1,21 +1,21 @@ -
+
{{> post-background}} {{!--Special header-image.hbs partial to generate the background image--}} -
+
-
+
{{#if primary_tag}} {{#primary_tag}} {{/primary_tag}} {{/if}} -
+ -
+

{{excerpt words="30"}}

@@ -30,7 +30,7 @@ {{/if}} {{/foreach}}
-
+

{{#has author="count:>2"}}Multiple authors{{else}}{{authors}}{{/has}}

diff --git a/post.hbs b/post.hbs index 90ee8ac..1533496 100644 --- a/post.hbs +++ b/post.hbs @@ -43,12 +43,13 @@
-
-
+
+
+
{{content}}
-
+
@@ -74,6 +75,7 @@ {{/next_post}}
+
{{/post}}
diff --git a/tag.hbs b/tag.hbs index 886b406..4e89994 100644 --- a/tag.hbs +++ b/tag.hbs @@ -27,8 +27,8 @@
{{/tag}} -
-{{#foreach posts}} - {{> "post-card"}} -{{/foreach}} +
+ {{#foreach posts}} + {{> "post-card"}} + {{/foreach}}