mirror of
https://github.com/Damillora/Yuika
synced 2024-11-16 23:07:33 +00:00
feat: add feature image captions support
This commit is contained in:
parent
512b268762
commit
d15da305d3
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{@site.lang}}">
|
||||
<html lang="{{@site.locale}}">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
@ -3,7 +3,7 @@
|
||||
"description": "nanao.moe's blog theme",
|
||||
"version": "v3.99.0-nanaomoe",
|
||||
"engines": {
|
||||
"ghost-api": "v3"
|
||||
"ghost-api": "v4"
|
||||
},
|
||||
"license": "MIT",
|
||||
"author": {
|
||||
|
11
post.hbs
11
post.hbs
@ -24,7 +24,7 @@
|
||||
{{#foreach authors}}
|
||||
{{#if profile_image}}
|
||||
<a href="{{url}}">
|
||||
<img class="post-header__author-image" src="{{img_url profile_image size="xs"}}" alt="{{name}}" />
|
||||
<img class="post-header__author-image" src="{{img_url profile_image size=" xs"}}" alt="{{name}}" />
|
||||
</a>
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
@ -34,12 +34,19 @@
|
||||
Multiple authors
|
||||
{{else}}
|
||||
{{#foreach authors}}
|
||||
<a href="{{url}}" title="{{name}}" class="post-header__author-name">{{name}}</a>
|
||||
<a href="{{url}}" title="{{name}}" class="post-header__author-name">{{name}}</a>
|
||||
{{/foreach}}
|
||||
{{/has}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if feature_image_caption}}
|
||||
<p class="post-header__caption">
|
||||
<span class="post-header__caption-text">
|
||||
{{feature_image_caption}}
|
||||
</span>
|
||||
</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user