You've already forked Ghost-Theme-Casper
🔥 ✨ rename images (#304)
refs https://github.com/TryGhost/Ghost/issues/8348 - `profile_image` && `cover_image` for author and fallback - `feature_image` for tag/post
This commit is contained in:
committed by
Kevin Ansfield
parent
ccf903feff
commit
5487b4da8d
2
tag.hbs
2
tag.hbs
@@ -2,7 +2,7 @@
|
||||
{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
|
||||
|
||||
{{!-- If we have a tag cover, display that - else blog cover - else nothing --}}
|
||||
<header class="main-header tag-head {{#if tag.image}}" style="background-image: url({{tag.image}}){{else}}{{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{else}}no-cover{{/if}}{{/if}}">
|
||||
<header class="main-header tag-head {{#if tag.feature_image}}" style="background-image: url({{tag.feature_image}}){{else}}{{#if @blog.cover_image}}" style="background-image: url({{@blog.cover_image}}){{else}}no-cover{{/if}}{{/if}}">
|
||||
<nav class="main-nav overlay clearfix">
|
||||
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>{{/if}}
|
||||
{{#if @blog.navigation}}
|
||||
|
||||
Reference in New Issue
Block a user