From bbe45590bec61c8bbde9801d3d0ac8905ebf8b2f Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Thu, 2 May 2024 17:04:42 -0700 Subject: [PATCH] Clean up config params --- config.yaml | 2 -- doc/config.yaml | 5 +---- layouts/partials/footer.html | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/config.yaml b/config.yaml index 9e8c9285..cba60837 100644 --- a/config.yaml +++ b/config.yaml @@ -4,8 +4,6 @@ theme: - scientific-python-hugo-theme/themes/hugo-atom-feed params: colorScheme: auto # can be auto (browser setting), light, or dark - images: - - /images/logo.svg navColor: blue font: name: "Lato" diff --git a/doc/config.yaml b/doc/config.yaml index ccbcfa9c..5a46e833 100644 --- a/doc/config.yaml +++ b/doc/config.yaml @@ -16,11 +16,8 @@ markup: enableDefault: true params: - author: - name: "Scientific Python team" + author: "Scientific Python team" description: "Documentation & template site for the Scientific Python Hugo Theme." - images: - - /images/logo.svg navbarlogo: image: logo.svg text: Scientific Python Hugo Theme diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index de969b9d..b03d4e40 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,5 @@ {{- $title := .Site.Title }} -{{- $author := .Site.Params.author.name }} +{{- $author := .Site.Params.author }} {{- $footer := .Site.Params.footer }} {{- $logo := index $footer "logo" }} {{- $quickLinks := index $footer "quicklinks" }}