From 605143f318886bef62688e621f1c771df1b13de9 Mon Sep 17 00:00:00 2001 From: Mike Lococo Date: Sat, 8 Apr 2017 22:32:15 -0400 Subject: [PATCH] Simplify site-specific css tweaks. --- exampleSite/config.toml | 6 ++++++ layouts/_default/baseof.html | 3 +++ 2 files changed, 9 insertions(+) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 04b6ea2..ce02435 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -68,6 +68,12 @@ paginate = 5 # or by specifying menu entries in a similar way to the sidebar menu above. #custom_navbar = true + # The css stylesheet included with the theme is minified, which makes it + # difficult to tweak just one or two styles. Optionally create + # static/css/site-style.css and uncomment the line below, or add as many + # files to the array as you wish with paths relative to your site root. + #custom_css = ["css/site-style.css"] + # show sharing icons on pages/posts (default: true) #sharingicons = true diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index e097cea..164b33b 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -14,6 +14,9 @@ {{ "" | safeHTML }} + {{ range .Site.Params.custom_css }} + + {{ end }} {{ if .RSSLink }} {{ "" | safeHTML }}