diff options
-rw-r--r-- | exampleSite/config.toml | 3 | ||||
-rw-r--r-- | layouts/partials/meta.html | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 3a7f29b..45dc351 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -21,6 +21,9 @@ defaultContentLanguage = "en" [params] # If false, use minified CSS (ui.min.css) debugCSS = false + # Custom CSS + customCSS = [] + # List of sections support disqus comments disqusSections = [ "blog" ] # Site meta description diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 0edfb38..3fa7c7f 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -15,6 +15,10 @@ {{ else }} <link rel="stylesheet" href="/css/ui.min.css"/> {{ end }} + + {{ range .Site.Params.CustomCSS }} + <link rel="stylesheet" href="{{ . }}"/> + {{ end }} <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono|Lato|Raleway"> |