chore: update shian

This commit is contained in:
Damillora 2021-04-22 22:04:40 +07:00
parent 1436d6a577
commit ab25d5b64b
4 changed files with 11 additions and 7 deletions

View File

@ -7,7 +7,7 @@
<div class="page-header__contents">
<div class="container mx-auto main">
{{#if @site.logo}}
<img src="{{img_url @site.logo size=" l"}}" alt="{{@site.title}}" class="page-header__icon">
<img src="{{img_url @site.logo size="l"}}" alt="{{@site.title}}" class="page-header__icon">
{{/if}}
<h1 class="page-header__heading">{{@site.title}}</h1>
<p class="page-header__text">{{@site.description}}</p>

View File

@ -46,7 +46,7 @@
"yuika"
],
"dependencies": {
"@damillora/shian": "^2.0.0",
"@damillora/shian": "^2.0.1",
"autoprefixer": "^10.2.1",
"gulp": "^4.0.2",
"gulp-clean-css": "^4.2.0",

View File

@ -51,7 +51,11 @@
{{/foreach}}
</div>
<div class="post-card__author-names">
{{#has author="count:>2"}}Multiple authors{{else}}{{authors}}{{/has}}
{{#has author="count:>2"}}Multiple authors{{else}}
{{#foreach authors}}
<a href="{{url}}" title="{{name}}" class="post-header__author-name">{{name}}</a>
{{/foreach}}
{{/has}}
</div>
</div>
{{/if}}

View File

@ -830,10 +830,10 @@
"@babel/helper-validator-identifier" "^7.12.11"
to-fast-properties "^2.0.0"
"@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==
"@damillora/shian@^2.0.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@damillora/shian/-/shian-2.0.1.tgz#0ffded9bf4f2f2ab92e743f5b08cc8b3336a4fd9"
integrity sha512-0Ybgs5N3/X80WvqDL+7qwSvc7JQ6TaMKtCppI8x0ovtsHh9E7vKelFLyXW6Xe7DQ1Irug2TSsiJXu0c8l6XQZg==
"@discoveryjs/json-ext@^0.5.0":
version "0.5.2"