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