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

github.com/colorchestra/smol.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcolorchestra <morph@posteo.de>2020-08-31 00:25:44 +0300
committerGitHub <noreply@github.com>2020-08-31 00:25:44 +0300
commitcd4cc6abc69dcbce01f027e2ee778b4633957cba (patch)
tree9fc2b346f24a4b0a3ef5a7f8c263cc47374c3f37
parent41db6a77dc71c5a730ec18fe02080ffe9aa06bb8 (diff)
parent9f3b6d2076aa6f0bb927f34f8f81de3ab9ce046c (diff)
Merge pull request #6 from thenktor/master
Update baseof.html for custom CSS
-rw-r--r--layouts/_default/baseof.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 2c3a98e..926c1f5 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -9,6 +9,9 @@
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
+ {{ range .Site.Params.customCSS -}}
+ <link rel="stylesheet" href="{{ . | relURL }}?rnd={{ now.Unix }}">
+ {{- end }}
{{ with .OutputFormats.Get "RSS" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
{{- end }}