Fix missing handlebars checks
This commit is contained in:
parent
f08c70ca67
commit
67ba61d93b
@ -16,7 +16,6 @@
|
||||
|
||||
{{!-- TODO: REMOVE ON PRODUCTION! --}}
|
||||
<script type="text/javascript" src="http://livejs.com/live.js"></script>
|
||||
|
||||
{{!-- Scripts End --}}
|
||||
|
||||
{{!-- Begin Page-specific code --}}
|
||||
|
3
page.hbs
3
page.hbs
@ -14,7 +14,10 @@
|
||||
{{#post}}
|
||||
<div class="mind-post_content">
|
||||
<div class="mind-post_content-header">
|
||||
|
||||
{{#if feature_image}}
|
||||
<img class="mind-post_feature-image" src="{{img_url feature_image size="l"}}" alt="Feature Image"/>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{content}}
|
||||
</div>
|
||||
|
@ -1,6 +1,9 @@
|
||||
<article class="{{post_class}}">
|
||||
<a class="mind-post-card-big_main" href="{{url}}">
|
||||
|
||||
{{#if feature_image}}
|
||||
<img class="mind-post-card-big_feature-image" src="{{img_url feature_image size="m"}}" alt="Feature Image"/>
|
||||
{{/if}}
|
||||
<header class="mind-post-card-big_header">
|
||||
<p class="mind-post-card-big_meta"><span class="mind-post-card-big_tag">{{primary_tag.name}}</span>
|
||||
• <time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time></p>
|
||||
|
@ -3,7 +3,10 @@
|
||||
{{#foreach related}}
|
||||
<article class="{{post_class}}">
|
||||
<a class="mind-post-card-sidebar_main" href="{{url}}">
|
||||
|
||||
{{#if feature_image}}
|
||||
<img class="mind-post-card-sidebar_feature-image" src="{{img_url feature_image size="s"}}" alt="Feature Image"/>
|
||||
{{/if}}
|
||||
<header class="mind-post-card-sidebar_header">
|
||||
<p class="mind-post-card-sidebar_meta"><span class="mind-post-card-sidebar_tag">{{primary_tag.name}}</span> • <time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time></p>
|
||||
<h5>{{title}}</h5>
|
||||
|
@ -1,6 +1,8 @@
|
||||
<article class="{{post_class}}">
|
||||
<a class="mind-tag-card_main" href="{{url}}">
|
||||
{{#if feature_image}}
|
||||
<img class="mind-tag-card_feature-image" src="{{img_url feature_image size="s"}}" alt="Feature Image"/>
|
||||
{{/if}}
|
||||
<header class="mind-tag-card_header">
|
||||
<h4>{{name}}</h4>
|
||||
</header>
|
||||
|
Loading…
Reference in New Issue
Block a user