Skip to content

Commit d773cc5

Browse files
committed
Theme compatibility - Ghost 6.0
1 parent e14e531 commit d773cc5

File tree

10 files changed

+22
-102
lines changed

10 files changed

+22
-102
lines changed

amp.hbs

Lines changed: 0 additions & 90 deletions
This file was deleted.

assets/css/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@
7171
src: url(https://fonts.gstatic.com/s/lato/v22/S6u9w4BMUTPHh50XSwiPGQ.woff2) format("woff2");
7272
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;
7373
}
74+
:root {
75+
--gh-font-heading: "Lato", sans-serif;
76+
--gh-font-body: "Lato", sans-serif;
77+
}
78+
7479
html {
7580
scroll-behavior: auto !important;
7681
}

assets/css/style.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/main.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/main.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/scss/style.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@
7171
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;
7272
}
7373

74+
:root {
75+
--gh-font-heading: 'Lato', sans-serif;
76+
--gh-font-body: 'Lato', sans-serif;
77+
}
78+
7479
html {
7580
scroll-behavior: auto !important;
7681
}

author.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ into the {body} of the default.hbs template --}}
3737
<a class="social-link social-link-wb" href="{{website}}" target="_blank" rel="noopener"><span class="fas fa-globe"></span></a>
3838
{{/if}}
3939
{{#if twitter}}
40-
<a class="social-link social-link-tw" href="{{twitter_url}}" target="_blank" rel="noopener"><span class="fab"><svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 512 512"><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"/></svg></span></a>
40+
<a class="social-link social-link-tw" href="{{social_url type="twitter"}}" target="_blank" rel="noopener"><span class="fab"><svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 512 512"><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"/></svg></span></a>
4141
{{/if}}
4242
{{#if facebook}}
43-
<a class="social-link social-link-fb" href="{{facebook_url}}" target="_blank" rel="noopener"><span class="fab fa-facebook-f"></span></a>
43+
<a class="social-link social-link-fb" href="{{social_url type="facebook"}}" target="_blank" rel="noopener"><span class="fab fa-facebook-f"></span></a>
4444
{{/if}}
4545
<a class="social-link social-link-rss" href="{{url absolute="true"}}rss/" target="_blank" rel="noopener"><span class="fas fa-rss"></span></a>
4646
</div>

default.hbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
<meta name="HandheldFriendly" content="True" />
2121

2222
{{!-- Styles'n'Scripts --}}
23-
<link rel="preload" href="/assets/fonts/font-awesome/webfonts/fa-brands-400.woff2" as="font" crossorigin />
24-
<link rel="preload" href="/assets/fonts/font-awesome/webfonts/fa-light-300.woff2" as="font" crossorigin />
25-
<link rel="preload" href="/assets/fonts/font-awesome/webfonts/fa-regular-400.woff2" as="font" crossorigin />
26-
<link rel="preload" href="/assets/fonts/font-awesome/webfonts/fa-solid-900.woff2" as="font" crossorigin />
23+
<link rel="preload" href="{{asset "fonts/font-awesome/webfonts/fa-brands-400.woff2"}}" as="font" crossorigin />
24+
<link rel="preload" href="{{asset "fonts/font-awesome/webfonts/fa-light-300.woff2"}}" as="font" crossorigin />
25+
<link rel="preload" href="{{asset "fonts/font-awesome/webfonts/fa-regular-400.woff2"}}" as="font" crossorigin />
26+
<link rel="preload" href="{{asset "fonts/font-awesome/webfonts/fa-solid-900.woff2"}}" as="font" crossorigin />
2727

2828
<link href="{{asset "css/style.min.css" }}" rel="stylesheet">
2929

partials/sidebar.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
{{/if}}
6464
{{#if @site.facebook}}
6565
<li class="social-link-facebook">
66-
<a class="social-link" href="{{facebook_url}}" target="_blank" rel="noopener noreferrer" aria-label="Follow us on Facebook">
66+
<a class="social-link" href="{{social_url type="facebook"}}" target="_blank" rel="noopener noreferrer" aria-label="Follow us on Facebook">
6767
<span class="fab fa-facebook-f"></span>
6868
</a>
6969
</li>

rss.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<atom:link href="{{@site.url}}" rel="self" type="application/rss+xml"/>
1313
<ttl>60</ttl>
1414

15-
{{#get "posts" limit="all" include="authors"}}
15+
{{#get "posts" limit="15" include="authors"}}
1616
{{#foreach posts}}
1717
<item>
1818
<title><![CDATA[ {{{title}}} ]]></title>

0 commit comments

Comments
 (0)