mirror of
https://github.com/GuerillaStudio/now-playing
synced 2024-12-21 08:01:56 +00:00
Add the possibility to have an publisher different than the website's creator
This commit is contained in:
parent
259f6625d5
commit
97b24878bc
4 changed files with 27 additions and 4 deletions
|
@ -8,13 +8,18 @@
|
||||||
background: $color-primary url("/images/triforce.svg") no-repeat;
|
background: $color-primary url("/images/triforce.svg") no-repeat;
|
||||||
background-position: center 10rem;
|
background-position: center 10rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
color: #8f92ae;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer a:not([class]) {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer__logo,
|
.footer__logo,
|
||||||
.footer__logo:link,
|
.footer__logo:link,
|
||||||
.footer__logo:visited {
|
.footer__logo:visited {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: #8f92ae;
|
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
letter-spacing: 0.015em;
|
letter-spacing: 0.015em;
|
||||||
|
|
|
@ -8,6 +8,10 @@ disableKinds = ["taxonomy", "taxonomyTerm"]
|
||||||
description = "Collection of Handpicked Albums by Guérilla.Studio"
|
description = "Collection of Handpicked Albums by Guérilla.Studio"
|
||||||
[params.author]
|
[params.author]
|
||||||
name = "Guérilla.Studio"
|
name = "Guérilla.Studio"
|
||||||
|
url = "https://guerilla.studio"
|
||||||
|
[params.creator]
|
||||||
|
name = "Guérilla.Studio"
|
||||||
|
url = "https://guerilla.studio"
|
||||||
|
|
||||||
[imaging]
|
[imaging]
|
||||||
quality = 95
|
quality = 95
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- About -->
|
<!-- About -->
|
||||||
{{ if not $paginator.HasPrev }}
|
{{ if and (not $paginator.HasPrev) (eq .Site.Params.author.name .Site.Params.creator.name) }}
|
||||||
<section class="home-about">
|
<section class="home-about">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2 class="visually-hidden">About</h2>
|
<h2 class="visually-hidden">About</h2>
|
||||||
|
|
|
@ -1,5 +1,19 @@
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<a class="footer__logo" href="https://guerilla.studio">
|
|
||||||
Guérilla.Studio
|
<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>
|
</a>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in a new issue