Skip to content

Commit

Permalink
Use relURL instead of absURL
Browse files Browse the repository at this point in the history
  • Loading branch information
jd1 committed Sep 6, 2024
1 parent ea3ed37 commit 9ac20d5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
40 changes: 20 additions & 20 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ section {
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'),
url('{{ "fonts/open-sans-v18-latin-300.woff2" | absURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "fonts/open-sans-v18-latin-300.woff" | absURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('{{ "fonts/open-sans-v18-latin-300.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "fonts/open-sans-v18-latin-300.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-300italic - latin */
Expand All @@ -60,8 +60,8 @@ section {
font-style: italic;
font-weight: 300;
src: local('Open Sans Light Italic'), local('OpenSans-LightItalic'),
url('{{ "/fonts/open-sans-v18-latin-300italic.woff2" | absURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/open-sans-v18-latin-300italic.woff" | absURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('{{ "/fonts/open-sans-v18-latin-300italic.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/open-sans-v18-latin-300italic.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-regular - latin */
Expand All @@ -70,8 +70,8 @@ section {
font-style: normal;
font-weight: 400;
src: local('Open Sans Regular'), local('OpenSans-Regular'),
url('{{ "/fonts/open-sans-v18-latin-regular.woff2" | absURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/open-sans-v18-latin-regular.woff" | absURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('{{ "/fonts/open-sans-v18-latin-regular.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/open-sans-v18-latin-regular.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-italic - latin */
Expand All @@ -80,8 +80,8 @@ section {
font-style: italic;
font-weight: 400;
src: local('Open Sans Italic'), local('OpenSans-Italic'),
url('{{ "/fonts/open-sans-v18-latin-italic.woff2" | absURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/open-sans-v18-latin-italic.woff" | absURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('{{ "/fonts/open-sans-v18-latin-italic.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/open-sans-v18-latin-italic.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-600 - latin */
Expand All @@ -90,8 +90,8 @@ section {
font-style: normal;
font-weight: 600;
src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
url('{{ "/fonts/open-sans-v18-latin-600.woff2" | absURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/open-sans-v18-latin-600.woff" | absURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('{{ "/fonts/open-sans-v18-latin-600.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/open-sans-v18-latin-600.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-600italic - latin */
Expand All @@ -100,8 +100,8 @@ section {
font-style: italic;
font-weight: 600;
src: local('Open Sans SemiBold Italic'), local('OpenSans-SemiBoldItalic'),
url('{{ "/fonts/open-sans-v18-latin-600italic.woff2" | absURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/open-sans-v18-latin-600italic.woff" | absURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('{{ "/fonts/open-sans-v18-latin-600italic.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/open-sans-v18-latin-600italic.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-700 - latin */
Expand All @@ -110,8 +110,8 @@ section {
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'),
url('{{ "/fonts/open-sans-v18-latin-700.woff2" | absURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/open-sans-v18-latin-700.woff" | absURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('{{ "/fonts/open-sans-v18-latin-700.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/open-sans-v18-latin-700.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-700italic - latin */
Expand All @@ -120,8 +120,8 @@ section {
font-style: italic;
font-weight: 700;
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'),
url('{{ "/fonts/open-sans-v18-latin-700italic.woff2" | absURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/open-sans-v18-latin-700italic.woff" | absURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('{{ "/fonts/open-sans-v18-latin-700italic.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/open-sans-v18-latin-700italic.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* merriweather-regular - latin */
Expand All @@ -130,8 +130,8 @@ section {
font-style: normal;
font-weight: 400;
src: local('Merriweather Regular'), local('Merriweather-Regular'),
url('{{ "/fonts/merriweather-v22-latin-regular.woff2" | absURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/merriweather-v22-latin-regular.woff" | absURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('{{ "/fonts/merriweather-v22-latin-regular.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/merriweather-v22-latin-regular.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* merriweather-700 - latin */
Expand All @@ -140,8 +140,8 @@ section {
font-style: normal;
font-weight: 700;
src: local('Merriweather Bold'), local('Merriweather-Bold'),
url('{{ "/fonts/merriweather-v22-latin-700.woff2" | absURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/merriweather-v22-latin-700.woff" | absURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('{{ "/fonts/merriweather-v22-latin-700.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('{{ "/fonts/merriweather-v22-latin-700.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/favicon.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<link rel="shortcut icon" href="{{ "favicon.ico" | absURL }}">
<link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}">

0 comments on commit 9ac20d5

Please sign in to comment.