From 9ab435a80a9dc5c81636818a7409995af9694899 Mon Sep 17 00:00:00 2001 From: Jens True Date: Sun, 16 Jan 2022 17:54:13 +0100 Subject: [PATCH] Theme upgrade --- config/_default/config.yaml | 6 ---- config/_default/params.yaml | 57 +++++++++++++++++++++---------------- go.mod | 4 +-- go.sum | 4 +++ 4 files changed, 38 insertions(+), 33 deletions(-) diff --git a/config/_default/config.yaml b/config/_default/config.yaml index b68e291..6e136de 100644 --- a/config/_default/config.yaml +++ b/config/_default/config.yaml @@ -1,12 +1,6 @@ -# Configuration of Hugo -# Guide: https://wowchemy.com/docs/getting-started/ -# Hugo Documentation: https://gohugo.io/getting-started/configuration/#all-configuration-settings -# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/ - # Title of your site title: "Jens True" baseurl: "https://jcktrue.dk/" -copyright: "© {year} Jens True" ############################ ## LANGUAGE diff --git a/config/_default/params.yaml b/config/_default/params.yaml index d0b5832..28b0104 100644 --- a/config/_default/params.yaml +++ b/config/_default/params.yaml @@ -1,16 +1,16 @@ # Appearance - -theme: ocean -day_night: false -font: '' -font_size: M +appearance: + theme_day: ocean +# theme_night: ocean + font: minimal + font_size: M # SEO - -site_type: Person -local_business_type: '' -org_name: '' -description: 'Personal site for Jens True' +seo: + site_type: Person + local_business_type: '' + org_name: '' + description: 'Personal site for Jens True' # Contact (edit or remove options as required) @@ -46,14 +46,15 @@ contact_links: # Site header -main_menu: - enable: true - align: r - show_logo: true - show_language: false - show_day_night: false - show_search: false - highlight_active_link: true +header: + navbar: + enable: true + align: r + show_logo: true + show_language: false + show_day_night: false + show_search: false + highlight_active_link: true # Localization @@ -61,13 +62,24 @@ date_format: '2006-01-02' time_format: '15:04' address_format: dk +footer: + #text: "© 2022 Jens True" + copyright: + notice: '© {year} Jens True. This work is licensed under {license}' + license: + enable: true + allow_derivatives: true + share_alike: true + allow_commercial: false # Site features +features: + privacy_pack: false + highlight: true math: false diagram: true -privacy_pack: false show_related: book: true page: false @@ -79,12 +91,7 @@ reading_time: true section_pager: false docs_section_pager: true sharing: false -copyright_license: - enable: false - allow_derivatives: false - share_alike: true - allow_commercial: false - notice: 'This work is licensed under {license}' + abstract_length: 135 plugins_js: [] avatar: diff --git a/go.mod b/go.mod index 31d4c8d..554955d 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,6 @@ go 1.15 require ( github.com/wowchemy/wowchemy-hugo-modules/v5 v5.3.0 - github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20220110204553-d134dc7f12cf // indirect - github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220110204553-d134dc7f12cf // indirect + github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20220113220115-439dfb3a4085 // indirect + github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220113220115-439dfb3a4085 // indirect ) diff --git a/go.sum b/go.sum index 61d2c77..b754b9b 100644 --- a/go.sum +++ b/go.sum @@ -21,6 +21,8 @@ github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211231133358- github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211231133358-6d4989f90f7a/go.mod h1:Sp/AKo+2HAPi/IPHp1MEdKPmee+mzO5+efUBUPLPqPE= github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20220110204553-d134dc7f12cf h1:qeJvLwrIUpGzYRCx3e+/PO3aPwMFlgV0Jy7/G4p/524= github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20220110204553-d134dc7f12cf/go.mod h1:Sp/AKo+2HAPi/IPHp1MEdKPmee+mzO5+efUBUPLPqPE= +github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20220113220115-439dfb3a4085 h1:Tw3FSnefkhEt9rhKy2bDm4a5KX+2AVACNNhFQVTG16E= +github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20220113220115-439dfb3a4085/go.mod h1:Sp/AKo+2HAPi/IPHp1MEdKPmee+mzO5+efUBUPLPqPE= github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20210629192904-559885af86b7/go.mod h1:2iL9rdrUYyJXX2BeHKfK+QbqZlubCsaR60nQ87NRQTY= github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20210807125257-88ec9270d03e h1:J6H85UfeOzUouIenMxv/+FT1F5XlfzjuZYfMFdRux8Y= github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20210807125257-88ec9270d03e/go.mod h1:2iL9rdrUYyJXX2BeHKfK+QbqZlubCsaR60nQ87NRQTY= @@ -42,3 +44,5 @@ github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211231133358-6d49 github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211231133358-6d4989f90f7a/go.mod h1:2iL9rdrUYyJXX2BeHKfK+QbqZlubCsaR60nQ87NRQTY= github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220110204553-d134dc7f12cf h1:Ep0yLHjDCGMDkb0UHuBhoxJ2A+/dxGSnDn0q4ZZG+8M= github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220110204553-d134dc7f12cf/go.mod h1:2iL9rdrUYyJXX2BeHKfK+QbqZlubCsaR60nQ87NRQTY= +github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220113220115-439dfb3a4085 h1:RjSC/TLyyn8VrYhgb6IHrYcKQ4QQjli2mBLkTCD0zwU= +github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220113220115-439dfb3a4085/go.mod h1:2iL9rdrUYyJXX2BeHKfK+QbqZlubCsaR60nQ87NRQTY=