Fix indentation
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<nav id="mind-global-navbar_primary" class="mind-global-navbar_primary unselectable">
|
||||
<a href="/">
|
||||
{{#if @site.icon}}
|
||||
<img src="{{img_url @site.icon size="xxs"}}" alt="Website Logo"/>
|
||||
<img src="{{img_url @site.icon size="xxs"}}" alt="Website Logo"/>
|
||||
{{/if}}
|
||||
</a>
|
||||
{{navigation}}
|
||||
|
||||
@@ -1,20 +1,24 @@
|
||||
<article class="{{post_class}}">
|
||||
<a class="mind-post-card-big_main" href="{{url}}">
|
||||
<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>
|
||||
<h3>{{title}}</h3>
|
||||
</header>
|
||||
<section class="mind-post-card-big_excerpt">
|
||||
<p>{{excerpt words="26"}}</p>
|
||||
</section>
|
||||
<footer class="mind-post-card-big_footer">
|
||||
{{primary_author.name}}
|
||||
{{#if primary_author.profile_image}}<img class="mind-post-card-big_author-image" src="{{img_url primary_author.profile_image size="xxs"}}" alt="Author image" />{{/if}}
|
||||
</footer>
|
||||
</a>
|
||||
{{#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>
|
||||
<h3>{{title}}</h3>
|
||||
</header>
|
||||
<section class="mind-post-card-big_excerpt">
|
||||
<p>{{excerpt words="26"}}</p>
|
||||
</section>
|
||||
<footer class="mind-post-card-big_footer">
|
||||
{{primary_author.name}}
|
||||
{{#if primary_author.profile_image}}
|
||||
<img class="mind-post-card-big_author-image" src="{{img_url primary_author.profile_image size="xxs"}}"
|
||||
alt="Author image"/>{{/if}}
|
||||
</footer>
|
||||
</a>
|
||||
</article>
|
||||
|
||||
@@ -1,19 +1,24 @@
|
||||
{{#get "posts" limit="3" filter="tags:[{{post.tags}}]+id:-{{post.id}}" include="tags" as |related|}}
|
||||
<h4>Similar posts</h4>
|
||||
{{#foreach related}}
|
||||
<article class="{{post_class}}">
|
||||
<a class="mind-post-card-sidebar_main" href="{{url}}">
|
||||
<h4>Similar posts</h4>
|
||||
{{#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>
|
||||
</header>
|
||||
</a>
|
||||
</article>
|
||||
{{/foreach}}
|
||||
{{#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>
|
||||
</header>
|
||||
</a>
|
||||
</article>
|
||||
{{/foreach}}
|
||||
{{else}}
|
||||
<h4>No related posts</h4>
|
||||
<h4>No related posts</h4>
|
||||
{{/get}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<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"/>
|
||||
<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>
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
<script>
|
||||
if(window.screen.width > 800)
|
||||
if (window.screen.width > 800)
|
||||
{
|
||||
document.write('<script src="{{asset "js/three.r95.min.js"}}"><\/script>' +
|
||||
'<script src="{{asset "js/vanta.net.min.js"}}"><\/script>' +
|
||||
'<script>' +
|
||||
'VANTA.NET({'+
|
||||
'el: "#vantajs",'+
|
||||
'color: 0x3fd5ff,'+
|
||||
'backgroundColor: 0x190f2b,'+
|
||||
'mouseControls: true,'+
|
||||
'touchControls: true,'+
|
||||
'minHeight: 200.00,'+
|
||||
'minWidth: 200.00,'+
|
||||
'scale: 1.00,'+
|
||||
'scaleMobile: 1.00'+
|
||||
'})'+
|
||||
'VANTA.NET({' +
|
||||
'el: "#vantajs",' +
|
||||
'color: 0x3fd5ff,' +
|
||||
'backgroundColor: 0x190f2b,' +
|
||||
'mouseControls: true,' +
|
||||
'touchControls: true,' +
|
||||
'minHeight: 200.00,' +
|
||||
'minWidth: 200.00,' +
|
||||
'scale: 1.00,' +
|
||||
'scaleMobile: 1.00' +
|
||||
'})' +
|
||||
'<\/script>');
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user