diff --git a/author.hbs b/author.hbs index 4e7db4a..d7f5899 100644 --- a/author.hbs +++ b/author.hbs @@ -4,10 +4,10 @@
-

+

Author

-
+
{{#if profile_image}} - + {{else}} - + {{/if}} -

+

{{name}}

-

+

{{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}}

-

+

{{#if website}} - Website + {{/if}} {{#if twitter}} - Twitter + {{/if}} {{#if facebook}} - Facebook + {{/if}}

{{#if bio}} -

{{bio}}

+

{{bio}}

{{/if}}
diff --git a/index.hbs b/index.hbs index a0655d8..d01fb92 100644 --- a/index.hbs +++ b/index.hbs @@ -9,8 +9,8 @@ {{#if @site.logo}} {{@site.title}} {{/if}} -

{{@site.title}}

-

{{@site.description}}

+

{{@site.title}}

+

{{@site.description}}

diff --git a/package.json b/package.json index 2a6b462..58608bb 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "yuika" ], "dependencies": { - "@damillora/shian": "^1.1.0", + "@damillora/shian": "^2.0.0", "autoprefixer": "^10.2.1", "gulp": "^4.0.2", "gulp-clean-css": "^4.2.0", diff --git a/page.hbs b/page.hbs index 0df2095..3527edc 100644 --- a/page.hbs +++ b/page.hbs @@ -7,7 +7,7 @@
-

{{title}}

+

{{title}}

diff --git a/partials/navigation.hbs b/partials/navigation.hbs index 1bf0073..3654424 100644 --- a/partials/navigation.hbs +++ b/partials/navigation.hbs @@ -8,7 +8,7 @@ {{/foreach}} \ No newline at end of file diff --git a/partials/post-background.hbs b/partials/post-background.hbs index 63499fa..8c60493 100644 --- a/partials/post-background.hbs +++ b/partials/post-background.hbs @@ -13,13 +13,13 @@ for it, and apply those styles to the
tag. Else, we just output a
{{#if feature_image}} - {{title}} {{else}} - {{title}} {{/if}}
- + \ No newline at end of file diff --git a/partials/post-card.hbs b/partials/post-card.hbs index c53c255..fb5b1a5 100644 --- a/partials/post-card.hbs +++ b/partials/post-card.hbs @@ -6,7 +6,7 @@
{{#if primary_tag}} {{#primary_tag}} - + {{#if accent_color}} {{else}} @@ -17,12 +17,12 @@ {{/primary_tag}} {{/if}} {{#has visibility="paid"}} - + Paid content {{/has}} {{#has visibility="members"}} - + Member-exclusive {{/has}} @@ -44,16 +44,14 @@
{{#foreach authors}} {{#if profile_image}} -
- - {{name}} - -
+ + {{name}} + {{/if}} {{/foreach}}
-

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

+ {{#has author="count:>2"}}Multiple authors{{else}}{{authors}}{{/has}}
{{/if}} @@ -61,4 +59,4 @@

{{excerpt words="30"}}

- + \ No newline at end of file diff --git a/partials/primary-tag.hbs b/partials/primary-tag.hbs index f53584c..2ff6094 100644 --- a/partials/primary-tag.hbs +++ b/partials/primary-tag.hbs @@ -1,24 +1,24 @@ -
+
{{#if primary_tag}} {{#primary_tag}} {{#if accent_color}} - + {{else}} - + {{/if}} - {{name}} + {{name}} {{/primary_tag}} {{/if}} {{#has visibility="paid"}} - Paid content + Paid content {{/has}} {{#has visibility="members"}} - Member-exclusive + Member-exclusive {{/has}}
\ No newline at end of file diff --git a/partials/site-header.hbs b/partials/site-header.hbs index 6d2fb6a..6e265c6 100644 --- a/partials/site-header.hbs +++ b/partials/site-header.hbs @@ -5,14 +5,12 @@
{{navigation}} diff --git a/post.hbs b/post.hbs index 84a090d..b029799 100644 --- a/post.hbs +++ b/post.hbs @@ -8,7 +8,7 @@
{{> primary-tag}} -

{{title}}

+

{{title}}

{{#foreach authors}} {{#if profile_image}} -
- - {{name}} - -
+ + {{name}} + {{/if}} {{/foreach}}
-

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

+ {{#has author="count:>2"}} + Multiple authors + {{else}} + {{#foreach authors}} + {{name}} + {{/foreach}} + {{/has}}
{{/if}} @@ -50,8 +54,8 @@ arrow_back
-

Previous post

-

{{title}}

+

Previous post

+

{{title}}

{{/prev_post}} @@ -59,14 +63,16 @@ {{#next_post}}
-

Next post

-

{{title}}

+

Next post

+

{{title}}

arrow_forward
{{/next_post}}
+ +
{{#is "preview"}}

Comments are disabled for post previews

@@ -77,24 +83,22 @@
{{#if primary_tag}} - {{#get "posts" filter="tags:{{primary_tag.slug}}+id:-{{id}}" limit="3" as |related_posts|}} + {{#get "posts" include="tags" filter="tags:{{primary_tag.slug}}+id:-{{id}}" limit="3" as |related_posts|}} {{#if related_posts}} - {{#../primary_tag}} -
-

+

+ - {{/../primary_tag}} -
+ {{/../primary_tag}} +
{{#foreach related_posts}} {{> post-card}} {{/foreach}} @@ -103,10 +107,9 @@ {{/get}} {{/if}}
- - {{/post}} + {{#contentFor "scripts"}} - {{/contentFor}} + {{/contentFor}} \ No newline at end of file diff --git a/tag.hbs b/tag.hbs index 313d9cb..66a40fe 100644 --- a/tag.hbs +++ b/tag.hbs @@ -8,17 +8,17 @@

Tag

-
+
{{#if accent_color}} - + {{else}} - + {{/if}} -

+

{{name}}

-

{{description}}

+

{{description}}

diff --git a/yarn.lock b/yarn.lock index 3dea786..efcdb84 100644 --- a/yarn.lock +++ b/yarn.lock @@ -830,10 +830,10 @@ "@babel/helper-validator-identifier" "^7.12.11" to-fast-properties "^2.0.0" -"@damillora/shian@^1.1.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@damillora/shian/-/shian-1.2.0.tgz#762db594d0d3fbfdfa56e3a89cdac67aaec1a642" - integrity sha512-+5/jcSbVonxdtc4oKGVEtnMm6VLxkv00UnU0+UoB2W4NSG62140QbWdqerrbeOjzeI3WAJAEbI74b6XCbZ1V2A== +"@damillora/shian@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@damillora/shian/-/shian-2.0.0.tgz#f64d3dedf2a6bbfa06c9477f242bea8375261621" + integrity sha512-grK0nfoXmE8PGDuM6E1TbQxzW1sGuen08Ux3GPTMkJOjNKPoNHlTQ+HvmGyJQo9qaf3prNkK1RsoopFsn2FEbQ== "@discoveryjs/json-ext@^0.5.0": version "0.5.2"