1
0
Fork 0
mirror of https://github.com/GuerillaHQ/now-playing synced 2024-06-27 14:01:35 +00:00

Add credit to hosting provider in footer
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Tixie 2024-05-02 22:01:15 +02:00
parent 77649c7b01
commit 432e4779e2
No known key found for this signature in database
3 changed files with 14 additions and 1 deletions

View file

@ -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

View file

@ -25,4 +25,12 @@
{{ end }}
{{ end }}
</div>
{{ if (and (isset .Site.Params.hosting "url") (isset .Site.Params.hosting "name")) }}
<div class="mt2">
{{ if isset .Site.Params.hosting "prefixtext" }} {{ .Site.Params.hosting.prefixtext }} {{ else }} Thanks to {{ end }}
<a href="{{ .Site.Params.hosting.url }}" class="semibold">{{ .Site.Params.hosting.name }}</a>
{{ if isset .Site.Params.hosting "suffixtext" }} {{ .Site.Params.hosting.suffixtext }} {{ else }} for hosting this site. {{ end }}
</div>
{{ end}}
</footer>

View file

@ -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": {