1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-12-22 17:01:57 +00:00
now-playing/layouts/partials/footer.html

37 lines
1.6 KiB
HTML
Raw Normal View History

2024-05-02 20:01:01 +00:00
<footer class="footer container container--medium">
<div>
{{ if (eq .Site.Params.author.name .Site.Params.creator.name) }}
A website by
{{ else }}
A website published by
{{ if isset .Site.Params.author "url" }}
<span class="semibold"><a href="{{ .Site.Params.author.url }}">{{ .Site.Params.author.name }}</a></span>
{{ else }}
<span class="semibold">{{ .Site.Params.author.name }}</span>
{{ end }}
and built by
{{ end }}
</div>
<a class="footer__logo" href="{{ .Site.Params.creator.url }}">
{{ .Site.Params.creator.name }}
2021-01-22 11:37:58 +00:00
</a>
2024-05-02 20:01:01 +00:00
<div class="mt3">
2024-09-01 16:31:14 +00:00
This project is <a href="https://github.com/GuerillaStudio/now-playing" rel="noopener noreferrer">open-source</a> under <a href="https://github.com/GuerillaStudio/now-playing/LICENSE" rel="noopener noreferrer">“I'm so tired”</a> license. However all albums visuals and streaming services logos rights belong entirely to their respective owners.
2024-05-02 20:01:01 +00:00
{{ with .Site.GetPage "/" }}
{{ with .OutputFormats.Get "rss" }}
{{ printf ` — <a href="%s" class="semibold">RSS feed</a>` .Permalink | safeHTML }}
{{ 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}}
2019-11-27 17:06:26 +00:00
</footer>