Skip to content

Commit 1f20c90

Browse files
committed
cherry-pick: fix: update urls for deploy to github+
1 parent 4a6cc58 commit 1f20c90

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

assets/scss/common/_fonts.scss

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
font-display: swap;
77
src:
88
local("Jost"),
9-
url("/fonts/vendor/jost/jost-v4-latin-regular.woff2") format("woff2"),
10-
url("/fonts/vendor/jost/jost-v4-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
9+
url("fonts/vendor/jost/jost-v4-latin-regular.woff2") format("woff2"),
10+
url("fonts/vendor/jost/jost-v4-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
1111
}
1212

1313
/* jost-500 - latin */
@@ -18,8 +18,8 @@
1818
font-display: swap;
1919
src:
2020
local("Jost"),
21-
url("/fonts/vendor/jost/jost-v4-latin-500.woff2") format("woff2"),
22-
url("/fonts/vendor/jost/jost-v4-latin-500.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
21+
url("fonts/vendor/jost/jost-v4-latin-500.woff2") format("woff2"),
22+
url("fonts/vendor/jost/jost-v4-latin-500.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
2323
}
2424

2525
/* jost-700 - latin */
@@ -30,8 +30,8 @@
3030
font-display: swap;
3131
src:
3232
local("Jost"),
33-
url("/fonts/vendor/jost/jost-v4-latin-700.woff2") format("woff2"),
34-
url("/fonts/vendor/jost/jost-v4-latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
33+
url("fonts/vendor/jost/jost-v4-latin-700.woff2") format("woff2"),
34+
url("fonts/vendor/jost/jost-v4-latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
3535
}
3636

3737
/* jost-italic - latin */
@@ -42,8 +42,8 @@
4242
font-display: swap;
4343
src:
4444
local("Jost"),
45-
url("/fonts/vendor/jost/jost-v4-latin-italic.woff2") format("woff2"),
46-
url("/fonts/vendor/jost/jost-v4-latin-italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
45+
url("fonts/vendor/jost/jost-v4-latin-italic.woff2") format("woff2"),
46+
url("fonts/vendor/jost/jost-v4-latin-italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
4747
}
4848

4949
/* jost-500italic - latin */
@@ -54,8 +54,8 @@
5454
font-display: swap;
5555
src:
5656
local("Jost"),
57-
url("/fonts/vendor/jost/jost-v4-latin-500italic.woff2") format("woff2"),
58-
url("/fonts/vendor/jost/jost-v4-latin-500italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
57+
url("fonts/vendor/jost/jost-v4-latin-500italic.woff2") format("woff2"),
58+
url("fonts/vendor/jost/jost-v4-latin-500italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
5959
}
6060

6161
/* jost-700italic - latin */
@@ -66,6 +66,6 @@
6666
font-display: swap;
6767
src:
6868
local("Jost"),
69-
url("/fonts/vendor/jost/jost-v4-latin-700italic.woff2") format("woff2"),
70-
url("/fonts/vendor/jost/jost-v4-latin-700italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
69+
url("fonts/vendor/jost/jost-v4-latin-700italic.woff2") format("woff2"),
70+
url("fonts/vendor/jost/jost-v4-latin-700italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
7171
}

config/production/.gitkeep

Whitespace-only changes.

config/production/config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
baseurl = "/"

layouts/partials/header/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="container">
44
<input class="menu-btn order-0" type="checkbox" id="menu-btn">
55
<label class="menu-icon d-md-none" for="menu-btn"><span class="navicon"></span></label>
6-
<a class="navbar-brand order-1 order-md-0 mr-auto" href="{{ "/" | absURL }}">{{ .Site.Params.Title }}</a>
6+
<a class="navbar-brand order-1 order-md-0 mr-auto" href="{{ .Site.BaseURL | absURL }}">{{ .Site.Params.Title }}</a>
77
<button id="mode" class="btn btn-link order-2 order-md-4" type="button" aria-label="Toggle mode">
88
<span class="toggle-dark"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg></span>
99
<span class="toggle-light"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg></span>

0 commit comments

Comments
 (0)