feat: add feature image captions support

This commit is contained in:
Damillora 2021-07-11 03:19:43 +07:00
parent 512b268762
commit d15da305d3
3 changed files with 11 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{@site.lang}}"> <html lang="{{@site.locale}}">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />

View File

@ -3,7 +3,7 @@
"description": "nanao.moe's blog theme", "description": "nanao.moe's blog theme",
"version": "v3.99.0-nanaomoe", "version": "v3.99.0-nanaomoe",
"engines": { "engines": {
"ghost-api": "v3" "ghost-api": "v4"
}, },
"license": "MIT", "license": "MIT",
"author": { "author": {

View File

@ -40,6 +40,13 @@
</div> </div>
</div> </div>
{{/if}} {{/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> </div>
</div> </div>