Fix indentation
This commit is contained in:
parent
67ba61d93b
commit
58f26b715b
@ -1,4 +1,3 @@
|
||||
|
||||
/* Begin fonts */
|
||||
@font-face {
|
||||
font-family: 'Oswald';
|
||||
@ -15,12 +14,12 @@
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Montserrat';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local('Montserrat Regular'), local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v14/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
font-family: 'Montserrat';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local('Montserrat Regular'), local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v14/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@ -40,12 +39,12 @@
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
File diff suppressed because it is too large
Load Diff
34
package.json
34
package.json
@ -5,7 +5,9 @@
|
||||
"engines": {
|
||||
"ghost-api": "v3"
|
||||
},
|
||||
"keywords": ["ghost-theme"],
|
||||
"keywords": [
|
||||
"ghost-theme"
|
||||
],
|
||||
"license": "Copyright",
|
||||
"author": {
|
||||
"name": "Lorenzo Dellacà",
|
||||
@ -14,21 +16,21 @@
|
||||
"config": {
|
||||
"posts_per_page": 10,
|
||||
"image_sizes": {
|
||||
"xxs": {
|
||||
"width": 64
|
||||
},
|
||||
"xs": {
|
||||
"width": 100
|
||||
},
|
||||
"s": {
|
||||
"width": 300
|
||||
},
|
||||
"m": {
|
||||
"width": 600
|
||||
},
|
||||
"l": {
|
||||
"width": 1200
|
||||
}
|
||||
"xxs": {
|
||||
"width": 64
|
||||
},
|
||||
"xs": {
|
||||
"width": 100
|
||||
},
|
||||
"s": {
|
||||
"width": 300
|
||||
},
|
||||
"m": {
|
||||
"width": 600
|
||||
},
|
||||
"l": {
|
||||
"width": 1200
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user