about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2021-06-02 21:02:23 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2021-06-02 21:17:41 +0700
commit698a342daaaeea233c340d08f79a14d3d7dd1cfe (patch)
treec5ec258323f0fbcb728accf6c8af35bf2c43bb84
parente5c47173a2864e91f39c31cc4dd266008210f4ae (diff)
downloadblog-698a342daaaeea233c340d08f79a14d3d7dd1cfe.tar.gz
Make sure links are correct
-rw-r--r--config.toml2
-rw-r--r--layouts/partials/head-extra.html11
-rw-r--r--static/css/custom.css3
3 files changed, 7 insertions, 9 deletions
diff --git a/config.toml b/config.toml
index 8bfc5f4..b22e2a9 100644
--- a/config.toml
+++ b/config.toml
@@ -1,4 +1,4 @@
-baseURL = "https://huyngo.srht.site/"
+baseURL = "https://huyngo.envs.net/"
 copyright = "CC-BY-SA 4.0"
 defaultContentLanguage = "en"
 languageCode = "en-us"
diff --git a/layouts/partials/head-extra.html b/layouts/partials/head-extra.html
index d0d0022..c7de825 100644
--- a/layouts/partials/head-extra.html
+++ b/layouts/partials/head-extra.html
@@ -1,5 +1,6 @@
-<link rel="stylesheet" href="/css/custom.css">
-<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
-<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
-<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
-<link rel="manifest" href="/images/site.webmanifest">
+<base href="https://huyngo.envs.net/">
+<link rel="stylesheet" href={{ "/css/custom.css" | absURL }}>
+<link rel="apple-touch-icon" sizes="180x180" href={{ "/images/apple-touch-icon.png" | absURL }}>
+<link rel="icon" type="image/png" sizes="32x32" href={{ "/images/favicon-32x32.png" | absURL }}>
+<link rel="icon" type="image/png" sizes="16x16" href={{ "/images/favicon-16x16.png" | absURL }}>
+<link rel="manifest" href={{ "/images/site.webmanifest" | absURL }}>
diff --git a/static/css/custom.css b/static/css/custom.css
index 32ca682..4dcae15 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -1,6 +1,3 @@
----
----
-
 body {
   font-family: serif;
 }