diff options
author | Yann Herklotz <git@yannherklotz.com> | 2023-04-20 21:05:03 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2023-04-20 21:05:12 +0100 |
commit | eb466ded6e3851a08dfc563306151cb82890659f (patch) | |
tree | f94e6b7c1b941a9e0ab9a032ebee028a357a0e2e | |
parent | b0f7f5cc18449d9c4f82063da14eda0079153124 (diff) | |
download | yannherklotz.com-eb466ded6e3851a08dfc563306151cb82890659f.tar.gz yannherklotz.com-eb466ded6e3851a08dfc563306151cb82890659f.zip |
Minimize fonts by removing non-latin characters
16 files changed, 5 insertions, 21 deletions
diff --git a/config.toml b/config.toml index fbbb0d8..609c60b 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseURL = "https://yannherklotz.com" +baseURL = "https://bobby.ymhg.org" languageCode = "en-uk" title = "Yann Herklotz" theme = "ymherklotz" diff --git a/themes/ymherklotz/static/css/default.css b/themes/ymherklotz/static/css/default.css index 33217cb..c968d41 100644 --- a/themes/ymherklotz/static/css/default.css +++ b/themes/ymherklotz/static/css/default.css @@ -4,7 +4,7 @@ font-weight: 500; font-stretch: normal; font-style: normal; - src: url('/fonts/ttf/iosevka-ymhg-medium.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-medium.woff2') format('woff2'); + src: url('/fonts/woff2/iosevka-ymhg-medium.woff2') format('woff2'); } @font-face { @@ -13,7 +13,7 @@ font-weight: 500; font-stretch: normal; font-style: italic; - src: url('/fonts/ttf/iosevka-ymhg-mediumitalic.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-mediumitalic.woff2') format('woff2'); + src: url('/fonts/woff2/iosevka-ymhg-mediumitalic.woff2') format('woff2'); } @font-face { @@ -22,7 +22,7 @@ font-weight: 700; font-stretch: normal; font-style: normal; - src: url('/fonts/ttf/iosevka-ymhg-bold.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-bold.woff2') format('woff2'); + src: url('/fonts/woff2/iosevka-ymhg-bold.woff2') format('woff2'); } @font-face { @@ -31,25 +31,9 @@ font-weight: 700; font-stretch: normal; font-style: italic; - src: url('/fonts/ttf/iosevka-ymhg-bolditalic.ttf') format('truetype'), url('/fonts/woff2/iosevka-ymhg-bolditalic.woff2') format('woff2'); + src: url('/fonts/woff2/iosevka-ymhg-bolditalic.woff2') format('woff2'); } -/*@font-face { - font-family: 'EBGaramond'; - font-weight: 400; - font-style: normal; - font-display: swap; - src: url('/fonts/ttf/EBGaramond12-Regular.ttf') format('truetype'), url('/fonts/woff/EBGaramond12-Regular.woff') format('woff'); -} - -@font-face { - font-family: 'EBGaramond'; - font-weight: 400; - font-style: italic; - font-display: swap; - src: url('/fonts/ttf/EBGaramond12-Italic.ttf') format('truetype'), url('/fonts/woff/EBGaramond12-Italic.woff') format('woff'); -}*/ - body { background-color: #fffff8; color: #171d30; diff --git a/themes/ymherklotz/static/fonts/ttf/EBGaramond12-Italic.ttf b/themes/ymherklotz/static/fonts/ttf/EBGaramond12-Italic.ttf Binary files differdeleted file mode 100644 index c453410..0000000 --- a/themes/ymherklotz/static/fonts/ttf/EBGaramond12-Italic.ttf +++ /dev/null diff --git a/themes/ymherklotz/static/fonts/ttf/EBGaramond12-Regular.ttf b/themes/ymherklotz/static/fonts/ttf/EBGaramond12-Regular.ttf Binary files differdeleted file mode 100644 index d00050e..0000000 --- a/themes/ymherklotz/static/fonts/ttf/EBGaramond12-Regular.ttf +++ /dev/null diff --git a/themes/ymherklotz/static/fonts/ttf/iosevka-ymhg-bold.ttf b/themes/ymherklotz/static/fonts/ttf/iosevka-ymhg-bold.ttf Binary files differdeleted file mode 100644 index 983db99..0000000 --- a/themes/ymherklotz/static/fonts/ttf/iosevka-ymhg-bold.ttf +++ /dev/null diff --git a/themes/ymherklotz/static/fonts/ttf/iosevka-ymhg-bolditalic.ttf b/themes/ymherklotz/static/fonts/ttf/iosevka-ymhg-bolditalic.ttf Binary files differdeleted file mode 100644 index 2f6c691..0000000 --- a/themes/ymherklotz/static/fonts/ttf/iosevka-ymhg-bolditalic.ttf +++ /dev/null diff --git a/themes/ymherklotz/static/fonts/ttf/iosevka-ymhg-medium.ttf b/themes/ymherklotz/static/fonts/ttf/iosevka-ymhg-medium.ttf Binary files differdeleted file mode 100644 index ebd30da..0000000 --- a/themes/ymherklotz/static/fonts/ttf/iosevka-ymhg-medium.ttf +++ /dev/null diff --git a/themes/ymherklotz/static/fonts/ttf/iosevka-ymhg-mediumitalic.ttf b/themes/ymherklotz/static/fonts/ttf/iosevka-ymhg-mediumitalic.ttf Binary files differdeleted file mode 100644 index 9db414d..0000000 --- a/themes/ymherklotz/static/fonts/ttf/iosevka-ymhg-mediumitalic.ttf +++ /dev/null diff --git a/themes/ymherklotz/static/fonts/woff/EBGaramond12-Italic.eot b/themes/ymherklotz/static/fonts/woff/EBGaramond12-Italic.eot Binary files differdeleted file mode 100644 index f8cd662..0000000 --- a/themes/ymherklotz/static/fonts/woff/EBGaramond12-Italic.eot +++ /dev/null diff --git a/themes/ymherklotz/static/fonts/woff/EBGaramond12-Italic.woff b/themes/ymherklotz/static/fonts/woff/EBGaramond12-Italic.woff Binary files differdeleted file mode 100644 index 5082aa6..0000000 --- a/themes/ymherklotz/static/fonts/woff/EBGaramond12-Italic.woff +++ /dev/null diff --git a/themes/ymherklotz/static/fonts/woff/EBGaramond12-Regular.eot b/themes/ymherklotz/static/fonts/woff/EBGaramond12-Regular.eot Binary files differdeleted file mode 100644 index 5f0ef13..0000000 --- a/themes/ymherklotz/static/fonts/woff/EBGaramond12-Regular.eot +++ /dev/null diff --git a/themes/ymherklotz/static/fonts/woff/EBGaramond12-Regular.woff b/themes/ymherklotz/static/fonts/woff/EBGaramond12-Regular.woff Binary files differdeleted file mode 100644 index a4605d3..0000000 --- a/themes/ymherklotz/static/fonts/woff/EBGaramond12-Regular.woff +++ /dev/null diff --git a/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-bold.woff2 b/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-bold.woff2 Binary files differindex 202c615..e59d146 100644 --- a/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-bold.woff2 +++ b/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-bold.woff2 diff --git a/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-bolditalic.woff2 b/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-bolditalic.woff2 Binary files differindex 4c4eed9..566cabc 100644 --- a/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-bolditalic.woff2 +++ b/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-bolditalic.woff2 diff --git a/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-medium.woff2 b/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-medium.woff2 Binary files differindex 34136e7..89a308e 100644 --- a/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-medium.woff2 +++ b/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-medium.woff2 diff --git a/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-mediumitalic.woff2 b/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-mediumitalic.woff2 Binary files differindex 123b7ea..0b122e0 100644 --- a/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-mediumitalic.woff2 +++ b/themes/ymherklotz/static/fonts/woff2/iosevka-ymhg-mediumitalic.woff2 |