diff --git a/config.toml b/config.toml index b4542c0..8a42abc 100644 --- a/config.toml +++ b/config.toml @@ -12,6 +12,11 @@ disableKinds = ["taxonomy"] [params.creator] name = "Guérilla.Studio" url = "https://guerilla.studio" + [params.hosting] + name = "Deuxfleurs" + url = "https://deuxfleurs.fr" + prefixtext = "Big thanks to" + suffixtext = "for providing an eco-responsible and distributed web hosting." [imaging] quality = 95 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e335f15..4cdbea3 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -25,4 +25,12 @@ {{ end }} {{ end }} + + {{ if (and (isset .Site.Params.hosting "url") (isset .Site.Params.hosting "name")) }} +
+ {{ if isset .Site.Params.hosting "prefixtext" }} {{ .Site.Params.hosting.prefixtext }} {{ else }} Thanks to {{ end }} + {{ .Site.Params.hosting.name }} + {{ if isset .Site.Params.hosting "suffixtext" }} {{ .Site.Params.hosting.suffixtext }} {{ else }} for hosting this site. {{ end }} +
+ {{ end}} diff --git a/package.json b/package.json index 7e3ba18..2e24b09 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "now-playing", - "version": "1.0.1", + "version": "1.0.2", "license": "SEE LICENSE IN ./LICENSE", "description": "Collection of Handpicked Albums by Guérilla.Studio", "repository": {