From 9a070c238083e03ebbe799f6eb958381531fbbc8 Mon Sep 17 00:00:00 2001 From: Khosrow Moossavi Date: Mon, 14 May 2018 08:51:23 -0400 Subject: [PATCH] Ability to add extra custom CSS (#22) --- exampleSite/config.toml | 3 +++ layouts/_default/baseof.html | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 58488e0..3dc070e 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -23,6 +23,9 @@ disqusShortname = "yourdiscussshortname" hideCredits = false hideCopyright = false + # Custom CSS + custom_css = [] + [[params.social]] name = "Github" weight = 1 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a094dc1..057fb01 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -18,6 +18,10 @@ + {{ range .Site.Params.custom_css }} + + {{ end }} +