Fix comments and indentation

This commit is contained in:
Bea 2020-11-04 23:35:44 +01:00
parent eefd3de659
commit a39c83793e
4 changed files with 59 additions and 59 deletions

View File

@ -8,7 +8,7 @@
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" /> <link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" />
<!-- Scripts Begin --> {{!-- Scripts Begin --}}
<script src="{{asset "js/jquery-3.5.1.js"}}"></script> <script src="{{asset "js/jquery-3.5.1.js"}}"></script>
<script src="{{asset "js/policy-popup.js"}}"></script> <script src="{{asset "js/policy-popup.js"}}"></script>
<script src="{{asset "js/arrow-fade.js"}}" async></script> <script src="{{asset "js/arrow-fade.js"}}" async></script>

View File

@ -11,7 +11,7 @@
<div class="mind-content_main"> <div class="mind-content_main">
<div class="mind-feed-content_main"> <div class="mind-feed-content_main">
<!-- Looping through every post --> {{!-- Looping through every post --}}
{{#foreach posts}} {{#foreach posts}}
{{> "post-card-big"}} {{> "post-card-big"}}
{{/foreach}} {{/foreach}}
@ -19,7 +19,7 @@
</div> </div>
</main> </main>
<!-- Vanta.JS Scripts to make the background cool, but disabled on mobile --> {{!-- Vanta.JS Scripts to make the background cool, but disabled on mobile --}}
<script> <script>
if(window.screen.width > 800) if(window.screen.width > 800)
{ {

View File

@ -11,15 +11,15 @@
<div class="mind-content_main"> <div class="mind-content_main">
<div class="mind-feed-content_main"> <div class="mind-feed-content_main">
<!-- Looping through every post --> {{!-- Looping through every post --}}
{{#foreach posts}} {{#foreach posts}}
{{> "post-card-big"}} {{> "post-card-big"}}
{{/foreach}} {{/foreach}}
</div> </div>
</div> </div>
</main> </main>
<!-- Vanta.JS Scripts to make the background cool, but disabled on mobile --> {{!-- Vanta.JS Scripts to make the background cool, but disabled on mobile --}}
<script> <script>
if(window.screen.width > 800) if(window.screen.width > 800)
{ {

106
tag.hbs
View File

@ -1,53 +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'}}
• <a class="mind-post-header_tag" href="/tags/">see all tags</a> • <a class="mind-post-header_tag" href="/tags/">see all tags</a>
{{/if}} {{/if}}
</p> </p>
</div> </div>
{{/tag}} {{/tag}}
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-mid"></i> <i class="mind-global-header_arrow-down mind-global-header_arrow-down-mid"></i>
</div> </div>
<main> <main>
<div class="mind-content_main"> <div class="mind-content_main">
<div class="mind-feed-content_main"> <div class="mind-feed-content_main">
<!-- Looping through every post --> {{!-- Looping through every post --}}
{{#foreach posts}} {{#foreach posts}}
{{> "post-card-big"}} {{> "post-card-big"}}
{{/foreach}} {{/foreach}}
</div> </div>
</div> </div>
</main> </main>
<!-- Vanta.JS Scripts to make the background cool, but disabled on mobile --> {{!-- Vanta.JS Scripts to make the background cool, but disabled on mobile --}}
<script> <script>
if(window.screen.width > 800) if(window.screen.width > 800)
{ {
document.write('<script src="{{asset "js/three.r95.min.js"}}"><\/script>' + document.write('<script src="{{asset "js/three.r95.min.js"}}"><\/script>' +
'<script src="{{asset "js/vanta.net.min.js"}}"><\/script>' + '<script src="{{asset "js/vanta.net.min.js"}}"><\/script>' +
'<script>' + '<script>' +
'VANTA.NET({'+ 'VANTA.NET({'+
'el: "#vantajs",'+ 'el: "#vantajs",'+
'color: 0x3fd5ff,'+ 'color: 0x3fd5ff,'+
'backgroundColor: 0x190f2b,'+ 'backgroundColor: 0x190f2b,'+
'mouseControls: true,'+ 'mouseControls: true,'+
'touchControls: true,'+ 'touchControls: true,'+
'minHeight: 200.00,'+ 'minHeight: 200.00,'+
'minWidth: 200.00,'+ 'minWidth: 200.00,'+
'scale: 1.00,'+ 'scale: 1.00,'+
'scaleMobile: 1.00'+ 'scaleMobile: 1.00'+
'})'+ '})'+
'<\/script>'); '<\/script>');
} }
</script> </script>