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

github.com/joway/hugo-theme-yinyang.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoway.CI <joway.w@gmail.com>2020-06-11 08:33:50 +0300
committerJoway.CI <joway.w@gmail.com>2020-06-11 08:33:50 +0300
commitfc771aa92c16bb51865de2c3cc676a2642835d3a (patch)
treeffa6510aee346076dbee2afbd0b4e546797d2a87
parent1c7659d45205753ca493dcf39c6d3c9e25fff7cd (diff)
[ImgBot] Optimize images
-rw-r--r--README.md9
-rw-r--r--layouts/partials/head.html5
-rw-r--r--theme.toml2
3 files changed, 0 insertions, 16 deletions
diff --git a/README.md b/README.md
index b1316f9..6b06ce0 100644
--- a/README.md
+++ b/README.md
@@ -83,13 +83,6 @@ link = "https://github.com/joway"
extraHead = '<script src="xxxx.js"></script>'
```
-### Extra CSS files
-
-```
-[params]
-extraCSSFiles = ["css/foo.css", "css/bar.css"]
-```
-
### Insert content on every post
```
@@ -134,6 +127,4 @@ name = "Github"
link = "https://github.com/joway"
postHeaderContent = ""
postFooterContent = "<br/><br/><p>Subscribe to:<a target='_blank' href='https://mailchi.mp/a1a0d59e7a19/joway'>Joway's Blog</a></p>"
-# extraCSSFiles = ["css/foo.css", "css/bar.css"]
-extraCSSFiles = []
```
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index dba08b0..334c1c3 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -40,11 +40,6 @@
<link rel="stylesheet" href="{{ .Site.Params.staticPrefix }}{{ "css/highlight/tomorrow.min.css" | relURL }}" />
{{- end }}
<link rel="stylesheet" href="{{ "css/index.css" | relURL }}">
-
- {{ range .Site.Params.extraCSSFiles -}}
- <link rel="stylesheet" href="{{ .Site.Params.staticPrefix }}{{ . | relURL }}">
- {{- end }}
-
<link href="{{ .Site.Params.staticPrefix }}{{ "index.xml" | relURL }}" rel="alternate" type="application/rss+xml"
title="{{ .Site.Title }}">
<!-- fonts -->
diff --git a/theme.toml b/theme.toml
index 8d32030..a6428d9 100644
--- a/theme.toml
+++ b/theme.toml
@@ -17,8 +17,6 @@ min_version = "0.50"
[params]
staticPrefix = ""
-# extraCSSFiles = ["css/foo.css", "css/bar.css"]
-extraCSSFiles = []
[author]
name = "Joway Wang"