1
0
Fork 0
mirror of https://github.com/GuerillaHQ/now-playing synced 2024-07-08 14:57:57 +00:00
now-playing/layouts/partials/footer.html
2024-05-02 22:01:01 +02:00

29 lines
1.2 KiB
HTML

<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 }}
</a>
<div class="mt3">
This project is <a href="https://github.com/GuerillaHQ/now-playing" rel="noopener noreferrer">open-source</a> under <a href="https://github.com/GuerillaHQ/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.
{{ with .Site.GetPage "/" }}
{{ with .OutputFormats.Get "rss" }}
{{ printf ` — <a href="%s" class="semibold">RSS feed</a>` .Permalink | safeHTML }}
{{ end }}
{{ end }}
</div>
</footer>