Change line endings from CRLF to LF
This commit is contained in:
parent
964a474355
commit
3360f14d83
File diff suppressed because it is too large
Load Diff
@ -1,11 +1,11 @@
|
||||
$(document).ready(function(){
|
||||
$(window).scroll(function(){
|
||||
if($(this).scrollTop() >
|
||||
//$(window).height()*0.3){
|
||||
100) {
|
||||
$(".mind-global-header_arrow-down").css({"opacity" : "0"});
|
||||
} else {
|
||||
$(".mind-global-header_arrow-down").css({"opacity" : "0.4"});
|
||||
}
|
||||
});
|
||||
});
|
||||
$(document).ready(function(){
|
||||
$(window).scroll(function(){
|
||||
if($(this).scrollTop() >
|
||||
//$(window).height()*0.3){
|
||||
100) {
|
||||
$(".mind-global-header_arrow-down").css({"opacity" : "0"});
|
||||
} else {
|
||||
$(".mind-global-header_arrow-down").css({"opacity" : "0.4"});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
1316
assets/js/jquery-3.5.1.js
vendored
1316
assets/js/jquery-3.5.1.js
vendored
File diff suppressed because it is too large
Load Diff
@ -1,38 +1,38 @@
|
||||
function openPolicyPopup() {
|
||||
if(getCookie("consentGiven") === "true") return;
|
||||
|
||||
$("#mind-policy-popup").fadeIn(1000); // Enable the div
|
||||
}
|
||||
|
||||
function agreePolicyPopup() {
|
||||
const _paq = window._paq || [];
|
||||
_paq.push(['rememberConsentGiven', 43800]);
|
||||
$("#mind-policy-popup").fadeOut(1000); // Disable the div
|
||||
setCookie("consentGiven", "true", 1825) // todo: check if already present? also, firefox was throwing a warning...
|
||||
}
|
||||
|
||||
function getCookie(cname) {
|
||||
var name = cname + "=";
|
||||
var decodedCookie = decodeURIComponent(document.cookie);
|
||||
var ca = decodedCookie.split(';');
|
||||
for(var i = 0; i <ca.length; i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0) === ' ') {
|
||||
c = c.substring(1);
|
||||
}
|
||||
if (c.indexOf(name) === 0) {
|
||||
return c.substring(name.length, c.length);
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
function setCookie(name, value, days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + (value || "") + expires + "; path=/;SameSite=Lax";
|
||||
}
|
||||
function openPolicyPopup() {
|
||||
if(getCookie("consentGiven") === "true") return;
|
||||
|
||||
$("#mind-policy-popup").fadeIn(1000); // Enable the div
|
||||
}
|
||||
|
||||
function agreePolicyPopup() {
|
||||
const _paq = window._paq || [];
|
||||
_paq.push(['rememberConsentGiven', 43800]);
|
||||
$("#mind-policy-popup").fadeOut(1000); // Disable the div
|
||||
setCookie("consentGiven", "true", 1825) // todo: check if already present? also, firefox was throwing a warning...
|
||||
}
|
||||
|
||||
function getCookie(cname) {
|
||||
var name = cname + "=";
|
||||
var decodedCookie = decodeURIComponent(document.cookie);
|
||||
var ca = decodedCookie.split(';');
|
||||
for(var i = 0; i <ca.length; i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0) === ' ') {
|
||||
c = c.substring(1);
|
||||
}
|
||||
if (c.indexOf(name) === 0) {
|
||||
return c.substring(name.length, c.length);
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
function setCookie(name, value, days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + (value || "") + expires + "; path=/;SameSite=Lax";
|
||||
}
|
||||
|
@ -1,48 +1,48 @@
|
||||
var scroll_pos = 0;
|
||||
var transparent = true;
|
||||
var offset = 100;
|
||||
|
||||
function makeTransparent()
|
||||
{
|
||||
$("#mind-global-navbar_primary").removeClass('mind-global-navbar_primary-colored').addClass('mind-global-navbar_primary-transparent');
|
||||
transparent = true;
|
||||
}
|
||||
|
||||
function makeOpaque()
|
||||
{
|
||||
$("#mind-global-navbar_primary").removeClass('mind-global-navbar_primary-transparent').addClass('mind-global-navbar_primary-colored');
|
||||
transparent = false;
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#mind-global-navbar_primary").addClass('mind-global-navbar_primary-allowmoving');
|
||||
scroll_pos = $(this).scrollTop();
|
||||
|
||||
if(scroll_pos > offset)
|
||||
{
|
||||
makeOpaque();
|
||||
}
|
||||
else
|
||||
{
|
||||
makeTransparent();
|
||||
}
|
||||
|
||||
$(document).scroll(function() {
|
||||
scroll_pos = $(this).scrollTop();
|
||||
if(transparent)
|
||||
{
|
||||
if(scroll_pos > offset)
|
||||
{
|
||||
makeOpaque();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(scroll_pos <= offset)
|
||||
{
|
||||
makeTransparent();
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
var scroll_pos = 0;
|
||||
var transparent = true;
|
||||
var offset = 100;
|
||||
|
||||
function makeTransparent()
|
||||
{
|
||||
$("#mind-global-navbar_primary").removeClass('mind-global-navbar_primary-colored').addClass('mind-global-navbar_primary-transparent');
|
||||
transparent = true;
|
||||
}
|
||||
|
||||
function makeOpaque()
|
||||
{
|
||||
$("#mind-global-navbar_primary").removeClass('mind-global-navbar_primary-transparent').addClass('mind-global-navbar_primary-colored');
|
||||
transparent = false;
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#mind-global-navbar_primary").addClass('mind-global-navbar_primary-allowmoving');
|
||||
scroll_pos = $(this).scrollTop();
|
||||
|
||||
if(scroll_pos > offset)
|
||||
{
|
||||
makeOpaque();
|
||||
}
|
||||
else
|
||||
{
|
||||
makeTransparent();
|
||||
}
|
||||
|
||||
$(document).scroll(function() {
|
||||
scroll_pos = $(this).scrollTop();
|
||||
if(transparent)
|
||||
{
|
||||
if(scroll_pos > offset)
|
||||
{
|
||||
makeOpaque();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(scroll_pos <= offset)
|
||||
{
|
||||
makeTransparent();
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
1898
assets/js/three.r95.min.js
vendored
1898
assets/js/three.r95.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,22 +1,22 @@
|
||||
{{!< default}}
|
||||
<div class="mind-post-header unselectable">
|
||||
{{#post}}
|
||||
<div>
|
||||
<h1>{{title}}</h1>
|
||||
</div>
|
||||
{{/post}}
|
||||
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-mid"></i>
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<nav class="navbar-secondary unselectable">
|
||||
{{navigation type="secondary"}}
|
||||
</nav>
|
||||
<div class="mind-content_main">
|
||||
<div class="mind-feed-content_main">
|
||||
{{#foreach tags}}
|
||||
{{> "tag-card-big"}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
{{!< default}}
|
||||
<div class="mind-post-header unselectable">
|
||||
{{#post}}
|
||||
<div>
|
||||
<h1>{{title}}</h1>
|
||||
</div>
|
||||
{{/post}}
|
||||
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-mid"></i>
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<nav class="navbar-secondary unselectable">
|
||||
{{navigation type="secondary"}}
|
||||
</nav>
|
||||
<div class="mind-content_main">
|
||||
<div class="mind-feed-content_main">
|
||||
{{#foreach tags}}
|
||||
{{> "tag-card-big"}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
148
default.hbs
148
default.hbs
@ -1,74 +1,74 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{@site.lang}}">
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" />
|
||||
|
||||
|
||||
<!-- Scripts Begin -->
|
||||
<script src="{{asset "js/jquery-3.5.1.js"}}"></script>
|
||||
<script src="{{asset "js/policy-popup.js"}}"></script>
|
||||
<script src="{{asset "js/arrow-fade.js"}}" async></script>
|
||||
<script src="{{asset "js/scroll-navbar-color.js"}}"></script>
|
||||
|
||||
<!-- TODO: REMOVE ON PRODUCTION! -->
|
||||
<script type="text/javascript" src="http://livejs.com/live.js"></script>
|
||||
|
||||
<!-- Scripts End -->
|
||||
|
||||
<!-- Begin Page-specific code -->
|
||||
{{#is "post"}}
|
||||
<script src="{{asset "js/remark42-comments.js"}}"></script>
|
||||
{{/is}}
|
||||
|
||||
{{#is "index"}}
|
||||
<title>{{@site.title}}</title>
|
||||
{{/is}}
|
||||
|
||||
{{# is "post, page, tag"}}
|
||||
<title>{{meta_title}} – {{@site.title}}</title>
|
||||
{{/is}}
|
||||
<!-- End Page-specific code -->
|
||||
|
||||
{{ghost_head}}
|
||||
{{!-- Outputs important meta data and settings, should always be in <head> --}}
|
||||
|
||||
</head>
|
||||
<body class="{{body_class}}" onload="openPolicyPopup()">
|
||||
|
||||
<nav id="mind-global-navbar_primary" class="mind-global-navbar_primary unselectable">
|
||||
<a href="/">
|
||||
<img src="{{img_url @site.icon size="xxs"}}" />
|
||||
</a>
|
||||
{{navigation}}
|
||||
</nav>
|
||||
|
||||
<div class="mind-policy-popup" id="mind-policy-popup">
|
||||
<h4>This website uses cookies.</h4>
|
||||
<p>We use cookies to ensure you the best experience.
|
||||
<br>
|
||||
By visiting our website, you agree with our <a href="/policy" target="_blank">Privacy Policy</a>.
|
||||
</p>
|
||||
<button onclick="agreePolicyPopup()">Ok, understood</button>
|
||||
</div>
|
||||
|
||||
{{{body}}}
|
||||
{{!-- All content gets inserted here, index.hbs, post.hbs, etc --}}
|
||||
|
||||
<footer class="mind-site-footer_main unselectable">
|
||||
<div>
|
||||
<p>Copyright © 2019-20 ― Lorenzo Dellacà</p>
|
||||
</div>
|
||||
<nav class="mind-site-footer_nav">
|
||||
<a href="/policy/">Privacy Policy</a>
|
||||
</nav>
|
||||
</footer>
|
||||
|
||||
{{!-- <foot> --}}
|
||||
{{ghost_foot}}
|
||||
{{!-- Outputs important scripts - should always be included before closing body tag --}}
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{@site.lang}}">
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" />
|
||||
|
||||
|
||||
<!-- Scripts Begin -->
|
||||
<script src="{{asset "js/jquery-3.5.1.js"}}"></script>
|
||||
<script src="{{asset "js/policy-popup.js"}}"></script>
|
||||
<script src="{{asset "js/arrow-fade.js"}}" async></script>
|
||||
<script src="{{asset "js/scroll-navbar-color.js"}}"></script>
|
||||
|
||||
<!-- TODO: REMOVE ON PRODUCTION! -->
|
||||
<script type="text/javascript" src="http://livejs.com/live.js"></script>
|
||||
|
||||
<!-- Scripts End -->
|
||||
|
||||
<!-- Begin Page-specific code -->
|
||||
{{#is "post"}}
|
||||
<script src="{{asset "js/remark42-comments.js"}}"></script>
|
||||
{{/is}}
|
||||
|
||||
{{#is "index"}}
|
||||
<title>{{@site.title}}</title>
|
||||
{{/is}}
|
||||
|
||||
{{# is "post, page, tag"}}
|
||||
<title>{{meta_title}} – {{@site.title}}</title>
|
||||
{{/is}}
|
||||
<!-- End Page-specific code -->
|
||||
|
||||
{{ghost_head}}
|
||||
{{!-- Outputs important meta data and settings, should always be in <head> --}}
|
||||
|
||||
</head>
|
||||
<body class="{{body_class}}" onload="openPolicyPopup()">
|
||||
|
||||
<nav id="mind-global-navbar_primary" class="mind-global-navbar_primary unselectable">
|
||||
<a href="/">
|
||||
<img src="{{img_url @site.icon size="xxs"}}" />
|
||||
</a>
|
||||
{{navigation}}
|
||||
</nav>
|
||||
|
||||
<div class="mind-policy-popup" id="mind-policy-popup">
|
||||
<h4>This website uses cookies.</h4>
|
||||
<p>We use cookies to ensure you the best experience.
|
||||
<br>
|
||||
By visiting our website, you agree with our <a href="/policy" target="_blank">Privacy Policy</a>.
|
||||
</p>
|
||||
<button onclick="agreePolicyPopup()">Ok, understood</button>
|
||||
</div>
|
||||
|
||||
{{{body}}}
|
||||
{{!-- All content gets inserted here, index.hbs, post.hbs, etc --}}
|
||||
|
||||
<footer class="mind-site-footer_main unselectable">
|
||||
<div>
|
||||
<p>Copyright © 2019-20 ― Lorenzo Dellacà</p>
|
||||
</div>
|
||||
<nav class="mind-site-footer_nav">
|
||||
<a href="/policy/">Privacy Policy</a>
|
||||
</nav>
|
||||
</footer>
|
||||
|
||||
{{!-- <foot> --}}
|
||||
{{ghost_foot}}
|
||||
{{!-- Outputs important scripts - should always be included before closing body tag --}}
|
||||
</body>
|
||||
</html>
|
||||
|
88
home.hbs
88
home.hbs
@ -1,44 +1,44 @@
|
||||
{{!< default}}
|
||||
|
||||
<div class="mind-index-header_main unselectable" id="vantajs">
|
||||
<h1>{{@site.title}}</h1>
|
||||
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-big"></i>
|
||||
</div>
|
||||
|
||||
|
||||
<main>
|
||||
<nav class="mind-global-navbar_secondary unselectable">
|
||||
{{navigation type="secondary"}}
|
||||
</nav>
|
||||
<div class="mind-content_main">
|
||||
<div class="mind-feed-content_main">
|
||||
|
||||
<!-- Looping through every post -->
|
||||
{{#foreach posts}}
|
||||
{{> "post-card-big"}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<!-- Vanta.JS Scripts to make the background cool, but disabled on mobile -->
|
||||
<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>' +
|
||||
'<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'+
|
||||
'})'+
|
||||
'<\/script>');
|
||||
}
|
||||
</script>
|
||||
{{!< default}}
|
||||
|
||||
<div class="mind-index-header_main unselectable" id="vantajs">
|
||||
<h1>{{@site.title}}</h1>
|
||||
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-big"></i>
|
||||
</div>
|
||||
|
||||
|
||||
<main>
|
||||
<nav class="mind-global-navbar_secondary unselectable">
|
||||
{{navigation type="secondary"}}
|
||||
</nav>
|
||||
<div class="mind-content_main">
|
||||
<div class="mind-feed-content_main">
|
||||
|
||||
<!-- Looping through every post -->
|
||||
{{#foreach posts}}
|
||||
{{> "post-card-big"}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<!-- Vanta.JS Scripts to make the background cool, but disabled on mobile -->
|
||||
<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>' +
|
||||
'<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'+
|
||||
'})'+
|
||||
'<\/script>');
|
||||
}
|
||||
</script>
|
||||
|
88
index.hbs
88
index.hbs
@ -1,44 +1,44 @@
|
||||
{{!< default}}
|
||||
|
||||
<div class="mind-index-header_main unselectable" id="vantajs">
|
||||
<h1>{{@site.title}}</h1>
|
||||
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-big"></i>
|
||||
</div>
|
||||
|
||||
|
||||
<main>
|
||||
<nav class="mind-global-navbar_secondary unselectable">
|
||||
{{navigation type="secondary"}}
|
||||
</nav>
|
||||
<div class="mind-content_main">
|
||||
<div class="mind-feed-content_main">
|
||||
|
||||
<!-- Looping through every post -->
|
||||
{{#foreach posts}}
|
||||
{{> "post-card-big"}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<!-- Vanta.JS Scripts to make the background cool, but disabled on mobile -->
|
||||
<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>' +
|
||||
'<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'+
|
||||
'})'+
|
||||
'<\/script>');
|
||||
}
|
||||
</script>
|
||||
{{!< default}}
|
||||
|
||||
<div class="mind-index-header_main unselectable" id="vantajs">
|
||||
<h1>{{@site.title}}</h1>
|
||||
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-big"></i>
|
||||
</div>
|
||||
|
||||
|
||||
<main>
|
||||
<nav class="mind-global-navbar_secondary unselectable">
|
||||
{{navigation type="secondary"}}
|
||||
</nav>
|
||||
<div class="mind-content_main">
|
||||
<div class="mind-feed-content_main">
|
||||
|
||||
<!-- Looping through every post -->
|
||||
{{#foreach posts}}
|
||||
{{> "post-card-big"}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<!-- Vanta.JS Scripts to make the background cool, but disabled on mobile -->
|
||||
<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>' +
|
||||
'<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'+
|
||||
'})'+
|
||||
'<\/script>');
|
||||
}
|
||||
</script>
|
||||
|
68
package.json
68
package.json
@ -1,34 +1,34 @@
|
||||
{
|
||||
"name": "mindtheme",
|
||||
"description": "Mind Overflow's official website style",
|
||||
"version": "0.0.6",
|
||||
"engines": {
|
||||
"ghost-api": "v3"
|
||||
},
|
||||
"keywords": ["ghost-theme"],
|
||||
"license": "Copyright",
|
||||
"author": {
|
||||
"name": "Lorenzo Dellacà",
|
||||
"email": "lorenzo.dellaca@mind-overflow.net"
|
||||
},
|
||||
"config": {
|
||||
"posts_per_page": 10,
|
||||
"image_sizes": {
|
||||
"xxs": {
|
||||
"width": 64
|
||||
},
|
||||
"xs": {
|
||||
"width": 100
|
||||
},
|
||||
"s": {
|
||||
"width": 300
|
||||
},
|
||||
"m": {
|
||||
"width": 600
|
||||
},
|
||||
"l": {
|
||||
"width": 1200
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"name": "mindtheme",
|
||||
"description": "Mind Overflow's official website style",
|
||||
"version": "0.0.6",
|
||||
"engines": {
|
||||
"ghost-api": "v3"
|
||||
},
|
||||
"keywords": ["ghost-theme"],
|
||||
"license": "Copyright",
|
||||
"author": {
|
||||
"name": "Lorenzo Dellacà",
|
||||
"email": "lorenzo.dellaca@mind-overflow.net"
|
||||
},
|
||||
"config": {
|
||||
"posts_per_page": 10,
|
||||
"image_sizes": {
|
||||
"xxs": {
|
||||
"width": 64
|
||||
},
|
||||
"xs": {
|
||||
"width": 100
|
||||
},
|
||||
"s": {
|
||||
"width": 300
|
||||
},
|
||||
"m": {
|
||||
"width": 600
|
||||
},
|
||||
"l": {
|
||||
"width": 1200
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
48
page.hbs
48
page.hbs
@ -1,24 +1,24 @@
|
||||
{{!< default}}
|
||||
<div class="mind-post-header unselectable">
|
||||
{{#post}}
|
||||
<div>
|
||||
<h1>{{title}}</h1>
|
||||
</div>
|
||||
{{/post}}
|
||||
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-mid"></i>
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<div class="mind-content_main">
|
||||
<div class="mind-post_main">
|
||||
{{#post}}
|
||||
<div class="mind-post_content">
|
||||
<div class="mind-post_content-header">
|
||||
<img class="mind-post_feature-image" src="{{img_url feature_image size="l"}}"/>
|
||||
</div>
|
||||
{{content}}
|
||||
</div>
|
||||
{{/post}}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
{{!< default}}
|
||||
<div class="mind-post-header unselectable">
|
||||
{{#post}}
|
||||
<div>
|
||||
<h1>{{title}}</h1>
|
||||
</div>
|
||||
{{/post}}
|
||||
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-mid"></i>
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<div class="mind-content_main">
|
||||
<div class="mind-post_main">
|
||||
{{#post}}
|
||||
<div class="mind-post_content">
|
||||
<div class="mind-post_content-header">
|
||||
<img class="mind-post_feature-image" src="{{img_url feature_image size="l"}}"/>
|
||||
</div>
|
||||
{{content}}
|
||||
</div>
|
||||
{{/post}}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
72
post.hbs
72
post.hbs
@ -1,36 +1,36 @@
|
||||
{{!< default}}
|
||||
<div class="mind-post-header unselectable">
|
||||
{{#post}}
|
||||
|
||||
<div>
|
||||
<h1>{{title}}</h1>
|
||||
<p><a class="mind-post-header_tag" href="{{primary_tag.url}}">{{primary_tag.name}}</a> • <time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time></p>
|
||||
</div>
|
||||
{{/post}}
|
||||
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-mid"></i>
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<div class="mind-content_main">
|
||||
<div class="mind-post_main">
|
||||
<aside class="mind-post_sidebar unselectable">
|
||||
</aside>
|
||||
{{#post}}
|
||||
<div class="mind-post_content">
|
||||
<div class="mind-post_content-header">
|
||||
<img class="mind-post_feature-image" src="{{img_url feature_image size="l"}}"/>
|
||||
</div>
|
||||
{{content}}
|
||||
<hr>
|
||||
<h3>Comments</h3>
|
||||
<div id="remark42"></div>
|
||||
</div>
|
||||
{{/post}}
|
||||
<aside class="mind-post_sidebar unselectable">
|
||||
<div class="mind-post_sidebar-content">
|
||||
{{> "posts-card-small"}}
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
{{!< default}}
|
||||
<div class="mind-post-header unselectable">
|
||||
{{#post}}
|
||||
|
||||
<div>
|
||||
<h1>{{title}}</h1>
|
||||
<p><a class="mind-post-header_tag" href="{{primary_tag.url}}">{{primary_tag.name}}</a> • <time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time></p>
|
||||
</div>
|
||||
{{/post}}
|
||||
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-mid"></i>
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<div class="mind-content_main">
|
||||
<div class="mind-post_main">
|
||||
<aside class="mind-post_sidebar unselectable">
|
||||
</aside>
|
||||
{{#post}}
|
||||
<div class="mind-post_content">
|
||||
<div class="mind-post_content-header">
|
||||
<img class="mind-post_feature-image" src="{{img_url feature_image size="l"}}"/>
|
||||
</div>
|
||||
{{content}}
|
||||
<hr>
|
||||
<h3>Comments</h3>
|
||||
<div id="remark42"></div>
|
||||
</div>
|
||||
{{/post}}
|
||||
<aside class="mind-post_sidebar unselectable">
|
||||
<div class="mind-post_sidebar-content">
|
||||
{{> "posts-card-small"}}
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
104
tag.hbs
104
tag.hbs
@ -1,52 +1,52 @@
|
||||
{{!< default}}
|
||||
|
||||
<div class="mind-post-header unselectable">
|
||||
{{#tag}}
|
||||
|
||||
<div>
|
||||
<h1>{{name}}</h1>
|
||||
<p>
|
||||
{{#if description}}
|
||||
{{description}}
|
||||
{{else}}
|
||||
{{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}
|
||||
{{/if}}
|
||||
</p>
|
||||
</div>
|
||||
{{/tag}}
|
||||
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-mid"></i>
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<div class="mind-content_main">
|
||||
<div class="mind-feed-content_main">
|
||||
|
||||
<!-- Looping through every post -->
|
||||
{{#foreach posts}}
|
||||
{{> "post-card-big"}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<!-- Vanta.JS Scripts to make the background cool, but disabled on mobile -->
|
||||
<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>' +
|
||||
'<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'+
|
||||
'})'+
|
||||
'<\/script>');
|
||||
}
|
||||
</script>
|
||||
{{!< default}}
|
||||
|
||||
<div class="mind-post-header unselectable">
|
||||
{{#tag}}
|
||||
|
||||
<div>
|
||||
<h1>{{name}}</h1>
|
||||
<p>
|
||||
{{#if description}}
|
||||
{{description}}
|
||||
{{else}}
|
||||
{{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}}
|
||||
{{/if}}
|
||||
</p>
|
||||
</div>
|
||||
{{/tag}}
|
||||
<i class="mind-global-header_arrow-down mind-global-header_arrow-down-mid"></i>
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<div class="mind-content_main">
|
||||
<div class="mind-feed-content_main">
|
||||
|
||||
<!-- Looping through every post -->
|
||||
{{#foreach posts}}
|
||||
{{> "post-card-big"}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<!-- Vanta.JS Scripts to make the background cool, but disabled on mobile -->
|
||||
<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>' +
|
||||
'<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'+
|
||||
'})'+
|
||||
'<\/script>');
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user