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

github.com/bul-ikana/hugo-cards.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Aguirre <bul-ikana@users.noreply.github.com>2020-10-19 01:15:09 +0300
committerGitHub <noreply@github.com>2020-10-19 01:15:09 +0300
commit73f2ccace66f3490ed5921522b784d4227c02988 (patch)
tree443381069619965c03428bf37ae62dc250bae62e
parent94878efe46e39f248ab866a6e36ae6ef9d862306 (diff)
parent731d459987780ff8ae1a08d025c715244dec2867 (diff)
Merge pull request #16 from bul-ikana/dev
Dev
-rw-r--r--README.md5
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/partials/head.html3
3 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index f97e5d9..88e8322 100644
--- a/README.md
+++ b/README.md
@@ -52,3 +52,8 @@ The Google Analytics tracking ID
#### disqus
The disqus_thread ID
+
+### Customization
+
+#### custom_css
+Relative links with custom.css files. This will let yout overwrite the theme's CSS. \ No newline at end of file
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 21252c6..73de99d 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -23,6 +23,8 @@ paginate = 6
analytics = ""
disqus = ""
+ #custom_css = ["css/custom.css"]
+
[params.copyright]
name = "bool"
link = "https://bool.netlify.com"
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index f1853f4..96e35fb 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -9,4 +9,7 @@
{{ $main := resources.Get "sass/main.scss" | resources.ToCSS (dict "outputStyle" "compressed")}}
<link rel="stylesheet" href="{{ $main.RelPermalink }}">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
+{{ range .Site.Params.custom_css -}}
+ <link rel="stylesheet" href="/{{ . }}">
+{{- end }}
</head>