Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roryg/ghostwriter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRory Gibson <rg.rorygibson@gmail.com>2014-10-26 21:33:44 +0300
committerRory Gibson <rg.rorygibson@gmail.com>2014-10-27 01:58:51 +0300
commit26c2fdeb387b70c174aa1f3c5faa82c9123c0c28 (patch)
tree7f9b0471ca8575ee57264761079ec1fedf84d87a /partials
parent7c07aafe691338fa00e185eb66c41aca72281f29 (diff)
Added support for post images and improved overall spacing on smaller screens
Diffstat (limited to 'partials')
-rw-r--r--partials/post-content.hbs4
1 files changed, 4 insertions, 0 deletions
diff --git a/partials/post-content.hbs b/partials/post-content.hbs
index e6df2ab..3f1c6ef 100644
--- a/partials/post-content.hbs
+++ b/partials/post-content.hbs
@@ -6,6 +6,10 @@
</header>
<div class="post-content clearfix">
+ {{#if image}}
+ <img class="post-featured-image" src="{{image}}">
+ {{/if}}
+
{{{content}}}
</div>