Fix Spanish localization of the home page and footer slogans and copyright

This commit is contained in:
Eryn Wells 2022-11-12 07:50:48 -08:00
parent da88d389e9
commit e0b7aae3db
5 changed files with 25 additions and 15 deletions

View file

@ -8,7 +8,7 @@
{{- $url := $.RelPermalink -}}
<nav class="site bulleted">
{{- range . -}}
<li><a class="{{ if eq .URL $url }}active{{ end }}" href="{{ .URL }}"><span>{{ .Name }}</span></a></li>
<li><a class="{{ if eq .URL $url }}active{{ end }}" href="{{ .URL }}"><span>{{ i18n .Identifier | default .Name }}</span></a></li>
{{- end -}}
</nav>
{{ end }}

View file

@ -1,8 +1,8 @@
<footer class="site">
<ul class="slogans">
<li>Trans rights are human rights.</li>
<li>Black lives matter.</li>
<li>Get vaccinated.</li>
<li>{{ i18n "transRights" }}</li>
<li>{{ i18n "blackLivesMatter" }}</li>
<li>{{ i18n "getVaccinated" }}</li>
</ul>
<p>Copyright © <time datetime="{{ now.Year }}">{{ now.Year }}</time> <a href="{{ `` | absURL }}">Eryn Wells</a></p>
<p>Copyright © <time datetime="2020">2020</time><time datetime="{{ now.Year }}">{{ now.Year }}</time> <a href="{{ `` | absURL }}">Eryn Wells</a></p>
</footer>