You've already forked Ghost-Theme-Source
Fixed fonts URL for subdirectory installs
fixes https://github.com/TryGhost/Product/issues/4194
This commit is contained in:
@@ -88,7 +88,7 @@ production stylesheet in assets/built/screen.css
|
||||
font-style: normal;
|
||||
font-weight: 100 900;
|
||||
font-display: swap;
|
||||
src: url(/assets/fonts/inter-roman.woff2) format("woff2");
|
||||
src: url(../fonts/inter-roman.woff2) format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ production stylesheet in assets/built/screen.css
|
||||
font-style: normal;
|
||||
font-weight: 400 800;
|
||||
font-display: swap;
|
||||
src: url(/assets/fonts/eb-garamond-roman.woff2) format("woff2");
|
||||
src: url(../fonts/eb-garamond-roman.woff2) format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
@@ -106,7 +106,7 @@ production stylesheet in assets/built/screen.css
|
||||
font-style: italic;
|
||||
font-weight: 400 800;
|
||||
font-display: swap;
|
||||
src: url(/assets/fonts/eb-garamond-italic.woff2) format("woff2");
|
||||
src: url(../fonts/eb-garamond-italic.woff2) format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@ production stylesheet in assets/built/screen.css
|
||||
font-style: normal;
|
||||
font-weight: 100 800;
|
||||
font-display: swap;
|
||||
src: url(/assets/fonts/jetbrains-mono-roman.woff2) format("woff2");
|
||||
src: url(../fonts/jetbrains-mono-roman.woff2) format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@ production stylesheet in assets/built/screen.css
|
||||
font-style: italic;
|
||||
font-weight: 100 800;
|
||||
font-display: swap;
|
||||
src: url(/assets/fonts/jetbrains-mono-italic.woff2) format("woff2");
|
||||
src: url(../fonts/jetbrains-mono-italic.woff2) format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user