Merge remote-tracking branch 'github/master'
# Conflicts: # assets/css/screen.css # custom-tags.hbs # tag.hbs
This commit is contained in:
commit
dec41159a8
File diff suppressed because it is too large
Load Diff
@ -9,14 +9,16 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<nav class="navbar-secondary unselectable">
|
<nav class="mind-global-navbar_secondary unselectable">
|
||||||
{{navigation type="secondary"}}
|
{{navigation type="secondary"}}
|
||||||
</nav>
|
</nav>
|
||||||
<div class="mind-content_main">
|
<div class="mind-content_main">
|
||||||
<div class="mind-feed-content_main">
|
<div class="mind-tag-content_main">
|
||||||
{{#foreach tags}}
|
{{#get 'tags' limit='all' include='count.posts' order='count.posts desc'}}
|
||||||
{{> "tag-card-big"}}
|
{{#foreach tags}}
|
||||||
{{/foreach}}
|
{{> "tag-card-big"}}
|
||||||
|
{{/foreach}}
|
||||||
|
{{/get}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
@ -1,17 +1,8 @@
|
|||||||
<article class="{{post_class}}">
|
<article class="{{post_class}}">
|
||||||
<a class="mind-post-card-big_main" href="{{url}}">
|
<a class="mind-tag-card_main" href="{{url}}">
|
||||||
<img class="mind-post-card-big_feature-image" src="{{img_url feature_image size="m"}}" />
|
<img class="mind-tag-card_feature-image" src="{{img_url feature_image size="s"}}" />
|
||||||
<header class="mind-post-card-big_header">
|
<header class="mind-tag-card_header">
|
||||||
<p class="mind-post-card-big_meta"><span class="mind-post-card-big_tag">{{primary_tag.name}}</span>
|
<h4>{{name}}</h4>
|
||||||
• <time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time></p>
|
|
||||||
<h3>{{title}}</h3>
|
|
||||||
</header>
|
</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>
|
</a>
|
||||||
</article>
|
</article>
|
||||||
|
105
tag.hbs
105
tag.hbs
@ -1,52 +1,53 @@
|
|||||||
{{!< default}}
|
{{!< default}}
|
||||||
|
|
||||||
<div class="mind-post-header unselectable">
|
<div class="mind-post-header unselectable">
|
||||||
{{#tag}}
|
{{#tag}}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h1>{{name}}</h1>
|
<h1>{{name}}</h1>
|
||||||
<p>
|
<p>
|
||||||
{{#if description}}
|
{{#if description}}
|
||||||
{{description}}
|
{{description}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}
|
{{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}
|
||||||
{{/if}}
|
• <a class="mind-post-header_tag" href="/tags/">see all tags</a>
|
||||||
</p>
|
{{/if}}
|
||||||
</div>
|
</p>
|
||||||
{{/tag}}
|
</div>
|
||||||
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-mid"></i>
|
{{/tag}}
|
||||||
</div>
|
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-mid"></i>
|
||||||
|
</div>
|
||||||
<main>
|
|
||||||
<div class="mind-content_main">
|
<main>
|
||||||
<div class="mind-feed-content_main">
|
<div class="mind-content_main">
|
||||||
|
<div class="mind-feed-content_main">
|
||||||
<!-- Looping through every post -->
|
|
||||||
{{#foreach posts}}
|
<!-- Looping through every post -->
|
||||||
{{> "post-card-big"}}
|
{{#foreach posts}}
|
||||||
{{/foreach}}
|
{{> "post-card-big"}}
|
||||||
</div>
|
{{/foreach}}
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</div>
|
||||||
|
</main>
|
||||||
<!-- Vanta.JS Scripts to make the background cool, but disabled on mobile -->
|
|
||||||
<script>
|
<!-- Vanta.JS Scripts to make the background cool, but disabled on mobile -->
|
||||||
if(window.screen.width > 800)
|
<script>
|
||||||
{
|
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>' +
|
document.write('<script src="{{asset "js/three.r95.min.js"}}"><\/script>' +
|
||||||
'<script>' +
|
'<script src="{{asset "js/vanta.net.min.js"}}"><\/script>' +
|
||||||
'VANTA.NET({'+
|
'<script>' +
|
||||||
'el: "#vantajs",'+
|
'VANTA.NET({'+
|
||||||
'color: 0x3fd5ff,'+
|
'el: "#vantajs",'+
|
||||||
'backgroundColor: 0x190f2b,'+
|
'color: 0x3fd5ff,'+
|
||||||
'mouseControls: true,'+
|
'backgroundColor: 0x190f2b,'+
|
||||||
'touchControls: true,'+
|
'mouseControls: true,'+
|
||||||
'minHeight: 200.00,'+
|
'touchControls: true,'+
|
||||||
'minWidth: 200.00,'+
|
'minHeight: 200.00,'+
|
||||||
'scale: 1.00,'+
|
'minWidth: 200.00,'+
|
||||||
'scaleMobile: 1.00'+
|
'scale: 1.00,'+
|
||||||
'})'+
|
'scaleMobile: 1.00'+
|
||||||
'<\/script>');
|
'})'+
|
||||||
}
|
'<\/script>');
|
||||||
</script>
|
}
|
||||||
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user