mirror of
https://github.com/Damillora/Yuika
synced 2024-12-25 13:43:46 +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": {
|
||||
|
9
post.hbs
9
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}}
|
||||
@ -40,6 +40,13 @@
|
||||
</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