Font fixes, resolves #3
This commit is contained in:
parent
daff7f4adf
commit
ea0aa88f7f
|
@ -1,5 +1,4 @@
|
||||||
node_modules
|
node_modules
|
||||||
package-lock.json
|
package-lock.json
|
||||||
dist/
|
dist/
|
||||||
config.json
|
|
||||||
flake.lock
|
flake.lock
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
@import "@tryghost/shared-theme-assets/assets/css/v1/screen.css";
|
@import "@tryghost/shared-theme-assets/assets/css/v1/screen.css";
|
||||||
@import "fonts.css";
|
@import "fonts.css";
|
||||||
@import "tocbot.css"
|
@import "tocbot.css";
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--font-sans: Wanted Sans, Century Gothic, Frutiger, Futura, Montserrat, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
|
--font-sans: Wanted Sans, Century Gothic, Frutiger, Futura, Montserrat, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>{{meta_title}}</title>
|
<title>{{meta_title}}</title>
|
||||||
<link rel="stylesheet" href="{{asset "built/screen.css"}}">
|
<link rel="stylesheet" href="{{asset "built/screen.css"}}">
|
||||||
|
<link rel="preload" href="assets/fonts/WantedSans-Regular.woff2" as="font" type="font/woff2" crossorigin="">
|
||||||
|
|
||||||
{{#is "home"}}
|
{{#is "home"}}
|
||||||
{{#if @site.cover_image}}
|
{{#if @site.cover_image}}
|
||||||
|
|
|
@ -84,7 +84,7 @@ function zipper(done) {
|
||||||
'!node_modules', '!node_modules/**',
|
'!node_modules', '!node_modules/**',
|
||||||
'!dist', '!dist/**',
|
'!dist', '!dist/**',
|
||||||
'!yarn-error.log'
|
'!yarn-error.log'
|
||||||
]),
|
], {encoding: false}),
|
||||||
zip(filename),
|
zip(filename),
|
||||||
dest('dist/')
|
dest('dist/')
|
||||||
], handleError(done));
|
], handleError(done));
|
||||||
|
|
Loading…
Reference in New Issue