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}}}
+
diff --git a/index.hbs b/index.hbs
index 00729d5..934c1fd 100644
--- a/index.hbs
+++ b/index.hbs
@@ -8,12 +8,10 @@
{{> "site-header"}}
-
-
-{{#foreach posts}}
- {{> "post-card"}}
-{{/foreach}}
+
+ {{#foreach posts}}
+ {{> "post-card"}}
+ {{/foreach}}
-
{{#contentFor "scripts"}}
{{/contentFor}}
diff --git a/package.json b/package.json
index 1ddca8e..2a2605e 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "yuika",
"description": "nanao.moe's blog theme",
- "version": "0.3.0",
+ "version": "0.4.0",
"engines": {
"ghost-api": "v3"
},
diff --git a/page.hbs b/page.hbs
index 996423f..7b08824 100644
--- a/page.hbs
+++ b/page.hbs
@@ -15,7 +15,7 @@
{{/primary_tag}}
{{/if}}
-
@@ -24,11 +24,13 @@
-
-
+
{{/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}}
-
+
-
+
@@ -30,7 +30,7 @@
{{/if}}
{{/foreach}}
-
+
{{#has author="count:>2"}}Multiple authors{{else}}{{authors}}{{/has}}
{{date format="D MMM YYYY"}} • {{reading_time}}
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}}