3 Commits

Author SHA1 Message Date
Sodbileg Gansukh
53d475fdfe v1.1.2 2023-11-27 17:30:51 +08:00
Sodbileg Gansukh
12c5aa9a0b Fixed fonts URL for subdirectory installs
fixes https://github.com/TryGhost/Product/issues/4194
2023-11-27 17:30:28 +08:00
Sodbileg Gansukh
d22775c109 Fixed the archive URL when a site is set to a subpath
refs https://github.com/TryGhost/Source/issues/28

- when the archive page links to a relative path, the URL doesn't work when a site set to a subpath
- this makes the archive page URL absolute
2023-11-21 16:05:03 +08:00
5 changed files with 9 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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;
}

View File

@@ -2,7 +2,7 @@
"name": "source",
"description": "A default theme for the Ghost publishing platform",
"demo": "https://source.ghost.io",
"version": "1.1.1",
"version": "1.1.2",
"engines": {
"ghost": ">=5.0.0"
},

View File

@@ -115,7 +115,7 @@
{{#match pagination.pages ">" 1}}
<div class="gh-more is-title">
<a href="/page/2">See all {{> "icons/arrow"}}</a>
<a href="{{@site.url}}/page/2">See all {{> "icons/arrow"}}</a>
</div>
{{/match}}