Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/twenty-twenty-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSojon <sojonatmail@gmail.com>2021-07-04 14:15:57 +0300
committerSojon <sojonatmail@gmail.com>2021-07-04 14:15:57 +0300
commit81a14db5672e9f1a4a4d1135cc7ac0eaa0d74f79 (patch)
tree3b362e5047839aefa0a032aede68d5c3d31254d1
parentc30690930c1f12d30c9b2bcf24a17396c555fb18 (diff)
custom-stylesheet added
-rw-r--r--assets/css/custom-style.css7
-rw-r--r--layouts/partials/head.html3
2 files changed, 10 insertions, 0 deletions
diff --git a/assets/css/custom-style.css b/assets/css/custom-style.css
new file mode 100644
index 0000000..ea3971e
--- /dev/null
+++ b/assets/css/custom-style.css
@@ -0,0 +1,7 @@
+/*
+@import url('https://fonts.googleapis.com/css2?family=Otomanopee+One&display=swap');
+
+body {
+ font-family: 'Otomanopee One', sans-serif !important;
+}
+*/ \ No newline at end of file
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 00b92b1..e4d1a00 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -16,6 +16,9 @@
{{ $style := resources.Get "css/style.css" | minify }}
<link rel="stylesheet" href="{{ $style.Permalink }}" media="screen">
+ {{ $customStyle := resources.Get "css/custom-style.css" | minify }}
+ <link rel="stylesheet" href="{{ $customStyle.Permalink }}" media="screen">
+
{{ "<!--Favicon-->" | safeHTML }}
<link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }}" type="image/x-icon">
<link rel="icon" href="{{ `images/favicon.png` | absURL }}" type="image/x-icon">