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:
authorpostblue <postblue+git@postblue.info>2014-10-27 02:26:02 +0300
committerpostblue <postblue+git@postblue.info>2014-10-27 02:26:02 +0300
commit18431b50c5391f3595e31af5eff9797554bd3894 (patch)
tree56a5a7aaf282e8af095df2e7e0377df5a622fc35
parent26c2fdeb387b70c174aa1f3c5faa82c9123c0c28 (diff)
Post images should be conditional
-rw-r--r--page.hbs7
1 files changed, 4 insertions, 3 deletions
diff --git a/page.hbs b/page.hbs
index 022b024..5f694b7 100644
--- a/page.hbs
+++ b/page.hbs
@@ -10,8 +10,9 @@
</header>
<div class="post-content clearfix">
- <img class="post-featured-image" src="{{image}}">
-
+ {{#if image}}
+ <img class="post-featured-image" src="{{image}}">
+ {{/if}}
{{{content}}}
{{#if tags}}
@@ -20,4 +21,4 @@
</div>
</article>
{{/post}}
-</div> \ No newline at end of file
+</div>