diff --git a/README.md b/README.md
index 9da1ad9..50a232b 100644
--- a/README.md
+++ b/README.md
@@ -77,7 +77,6 @@ paginate=3 # articles per page
[params]
mode="auto" # color-mode → light,dark,toggle or auto
- useCDN=false # don't use CDNs for fonts and icons, instead serve them locally.
subtitle = "Minimal and Clean [blog theme for Hugo](https://github.com/athul/archie)"
mathjax = true # enable MathJax support
katex = true # enable KaTeX support
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index af5063e..fc5ff8a 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -8,7 +8,6 @@ pygmentscodefences = true
pygmentscodefencesguesssyntax = true
[params]
mode="auto"
- useCDN=false
subtitle = "Minimal and Clean [blog theme for Hugo](https://github.com/athul/archie)"
[[params.social]]
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 7d990d0..2ff0c16 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -22,19 +22,9 @@
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}
- {{ if and (isset .Site.Params "social") (.Site.Params.useCDN | default false) -}}
-
- {{- else if or (isset .Site.Params "social") (eq .Site.Params.mode "toggle") -}}
- {{ end }}
- {{ if .Site.Params.useCDN | default false -}}
-
-
-
- {{- else -}}
{{ $fontstyle := resources.Get "css/fonts.css" | fingerprint }}
- {{ end }}
{{ $style := resources.Get "css/main.css" | fingerprint }}
@@ -49,7 +39,7 @@
-
+
-
+
{{ end }}
-
+
{{- if isset .Site.Params "customcss" }}
{{ range .Site.Params.customCSS }}