diff --git a/config.toml b/config.toml index 4ce5926..54113c5 100644 --- a/config.toml +++ b/config.toml @@ -12,7 +12,7 @@ preserveTaxonomyNames = true # The subtitle to display under the title in the home page mainpagesubtitle = "boldly going forward, 'cause we can't find reverse.." - # The name to display as main title in the home page + # The description of your website. It will be displayed in the home page mainpagedesc = "Hallo und Herzlich Willkommen auf h3ndrik.de" # The name to display in the copyright section in the footer @@ -51,6 +51,18 @@ preserveTaxonomyNames = true customCSS = ["css/custom.css"] +[params.copyright] + name = "hendrik" + + # The url to use as link in the copyright name in the footer. Leave empty to use none. + url = "/about/" + + # Text to go before copyright information + prefix = "" + + # Text to go between copyright and hugo disclaimer (if enabled) + suffix = "" + [markup.goldmark.renderer] unsafe= true diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index f6409cd..0000000 --- a/layouts/partials/head.html +++ /dev/null @@ -1,17 +0,0 @@ - - {{ .Site.Title }} - - - - - - - {{/* Don't ask why it's like this. This original theme is a mess... */}} - - - - {{ range .Site.Params.customCSS -}} - - {{- end }} - - diff --git a/layouts/partials/header.html b/layouts/partials/header.html deleted file mode 100644 index 85920c8..0000000 --- a/layouts/partials/header.html +++ /dev/null @@ -1,40 +0,0 @@ - - diff --git a/layouts/partials/footer.html b/layouts/partials/scripts.html similarity index 50% rename from layouts/partials/footer.html rename to layouts/partials/scripts.html index f5aad77..a37172f 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/scripts.html @@ -1,27 +1,9 @@ - - + + + +{{ range .Site.Params.customCSS -}} + +{{- end }} @@ -48,11 +30,4 @@ function ThisYear() { document.getElementById('thisyear').innerHTML = new Date().getFullYear(); }; - - $(document).ready(function() { - if ( $(location).attr("pathname") == "/") { - $('.collapse').collapse('show'); - } - }); - //$('.collapse').show(); diff --git a/themes/hugo.386 b/themes/hugo.386 index b04c144..2558598 160000 --- a/themes/hugo.386 +++ b/themes/hugo.386 @@ -1 +1 @@ -Subproject commit b04c144d45ddd2390ae31d23af5b28f5c4366c29 +Subproject commit 2558598655fb0d797e526741f2082c8360c720a0