From 17abba28f274795858e1ea93a0dc0c477524d184 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Thu, 10 Dec 2020 16:09:26 +0100 Subject: [PATCH 1/2] Fix baseURL --- config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 2fcc0bb..a944f70 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ title = "happyDNS" -baseURL = "https://happydns.org/" +baseURL = "https://www.happydns.org/" defaultContentLanguageInSubdir = true removePathAccents = true From ed03724ada4b7283c4a4e97b17e30b09c999d7a6 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Thu, 10 Dec 2020 16:09:36 +0100 Subject: [PATCH 2/2] Use svg instead of downloading fonts --- layouts/partials/jumbo.html | 12 ++++++++++-- layouts/partials/nav.html | 8 ++++++-- static/css/custom.css | 14 -------------- static/fonts/Fortheenas_01 Bold.woff2 | Bin 11112 -> 0 bytes static/fonts/Fortheenas_01.woff2 | Bin 20636 -> 0 bytes 5 files changed, 16 insertions(+), 18 deletions(-) delete mode 100644 static/fonts/Fortheenas_01 Bold.woff2 delete mode 100644 static/fonts/Fortheenas_01.woff2 diff --git a/layouts/partials/jumbo.html b/layouts/partials/jumbo.html index e5b9aae..95af5a6 100644 --- a/layouts/partials/jumbo.html +++ b/layouts/partials/jumbo.html @@ -1,13 +1,21 @@

- happyDNS + + happyDNS + + +

{{ i18n "slogan" }}

- happyDNS + + happyDNS + + + {{ i18n "lead" | markdownify }}

diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 02f8373..27c5277 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,7 +1,11 @@