projects
/
ghost-theme-willow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Got cover background image working
[ghost-theme-willow.git]
/
post.hbs
diff --git
a/post.hbs
b/post.hbs
index c22b225d54947ba09292065c56809d20e3fd879c..650eb23065342d6ef8338e187653866f340e7d3e 100644
(file)
--- a/
post.hbs
+++ b/
post.hbs
@@
-1,6
+1,11
@@
{{!< default}}
{{#post}}
<div class="c-post-view {{post_class}}">
{{!< default}}
{{#post}}
<div class="c-post-view {{post_class}}">
+ {{#if feature_image}}
+ <figure class="c-post-full-image" style="background-image: url({{feature_image}})">
+ </figure>
+ {{/if}}
+
<div class="c-page-title">
<h1 class="c-page-title__heading">
{{title}}
<div class="c-page-title">
<h1 class="c-page-title__heading">
{{title}}