Skip to content

Commit

Permalink
Remove / prefix from font imports
Browse files Browse the repository at this point in the history
  • Loading branch information
nginx-jack committed Sep 2, 2024
1 parent c7b6360 commit 9408763
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
font-style: normal;
font-weight: 400;
src: local('OpenSans'), local('Open Sans'), local('Open Sans Regular'), local('OpenSans-Regular'),
url('{{ pathto('/_static/open-sans-v40-latin_latin-ext-regular.woff2', 1) + '?' + md5('theme/static/open-sans-v40-latin_latin-ext-regular.woff2') }}') format('woff2');
url('{{ pathto('_static/open-sans-v40-latin_latin-ext-regular.woff2', 1) + '?' + md5('theme/static/open-sans-v40-latin_latin-ext-regular.woff2') }}') format('woff2');
}

/* open-sans-italic - latin_latin-ext */
Expand All @@ -47,7 +47,7 @@
font-style: italic;
font-weight: 400;
src: local('OpenSansItalic'), local('Open Sans Italic'), local('OpenSans Italic'), local('OpenSans-Italic'),
url('{{ pathto('/_static/open-sans-v40-latin_latin-ext-italic.woff2', 1) + '?' + md5('theme/static/open-sans-v40-latin_latin-ext-italic.woff2') }}') format('woff2');
url('{{ pathto('_static/open-sans-v40-latin_latin-ext-italic.woff2', 1) + '?' + md5('theme/static/open-sans-v40-latin_latin-ext-italic.woff2') }}') format('woff2');
}

/* open-sans-700 - latin_latin-ext */
Expand All @@ -57,7 +57,7 @@
font-style: normal;
font-weight: 700;
src: local('OpenSansBold'), local('Open Sans Bold'), local('OpenSans Bold'), local('OpenSans-Bold'),
url('{{ pathto('/_static/open-sans-v40-latin_latin-ext-700.woff2', 1) + '?' + md5('theme/static/open-sans-v40-latin_latin-ext-700.woff2') }}') format('woff2');
url('{{ pathto('_static/open-sans-v40-latin_latin-ext-700.woff2', 1) + '?' + md5('theme/static/open-sans-v40-latin_latin-ext-700.woff2') }}') format('woff2');
}

/* open-sans-700italic - latin_latin-ext */
Expand All @@ -67,7 +67,7 @@
font-style: italic;
font-weight: 700;
src: local('OpenSansBoldItalic'), local('Open Sans Bold Italic'), local('OpenSans Bold Italic'), local('OpenSans-BoldItalic'), local('OpenSans-Bold-Italic'),
url('{{ pathto('/_static/open-sans-v40-latin_latin-ext-700italic.woff2', 1) + '?' + md5('theme/static/open-sans-v40-latin_latin-ext-700italic.woff2') }}') format('woff2');
url('{{ pathto('_static/open-sans-v40-latin_latin-ext-700italic.woff2', 1) + '?' + md5('theme/static/open-sans-v40-latin_latin-ext-700italic.woff2') }}') format('woff2');
}

</style>
Expand Down

0 comments on commit 9408763

Please sign in to comment.