Fix missing handlebars checks

This commit is contained in:
Bea 2020-11-04 23:43:30 +01:00
parent f08c70ca67
commit 67ba61d93b
6 changed files with 23 additions and 10 deletions

View File

@ -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 --}}

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -18,7 +18,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}}
<hr>