From c2ec534388ca8d72f2235b4e1e4c9f0eb94c2799 Mon Sep 17 00:00:00 2001 From: Nick Strayer Date: Tue, 26 Sep 2017 12:14:52 -0500 Subject: [PATCH] added ability to change the background color with a site param in the config file --- layouts/partials/backgroundColor.html | 9 +++++++++ layouts/partials/footer.html | 2 +- layouts/partials/header.includes.html | 2 ++ static/css/tuftesque.css | 1 - 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 layouts/partials/backgroundColor.html diff --git a/layouts/partials/backgroundColor.html b/layouts/partials/backgroundColor.html new file mode 100644 index 0000000..f77b538 --- /dev/null +++ b/layouts/partials/backgroundColor.html @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 9c760fb..324af91 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -18,7 +18,7 @@ {{ with .Site.Params.copyright }} {{ . | safeHTML }} {{ else }} - © {{.Now.Format "2006"}} + ©{{now.Format "2006"}} {{ with .Site.Params.copyrightHolder }}{{ . }}{{end}}. All rights reserved. {{end}} diff --git a/layouts/partials/header.includes.html b/layouts/partials/header.includes.html index b29fafc..4c68c02 100644 --- a/layouts/partials/header.includes.html +++ b/layouts/partials/header.includes.html @@ -24,6 +24,8 @@ +{{ partial "backgroundColor.html" . }} +