update extended footer (removes i18n dir) and makes it hardcoded in english

→ but that would have been the way to make this available in more languages I guess…
main
Dominic Reich 1 year ago
parent 164b38b222
commit 0fa263333d
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -1,2 +0,0 @@
footer:
running_on: "This website is served on an {{ .OS }} server with {{ .Webserver }}"

@ -1,8 +1,8 @@
<div> <div class="flex items-center justify-between">
{{ $os := printf `<a class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="https://www.openbsd.org/" target="_blank" rel="noopener noreferrer">OpenBSD</a>` }} <div>
{{ $webserver := printf `<a class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="https://httpd.apache.org/" target="_blank" rel="noopener noreferrer">Apache httpd</a>` }}
<p class="text-xs text-neutral-500 dark:text-neutral-400"> <p class="text-xs text-neutral-500 dark:text-neutral-400">
{{ i18n "footer.running_on" (dict "OS" $os "Webserver" $webserver) | safeHTML }} Served with <a class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="https://www.openbsd.org/" target="_blank" rel="noopener noreferrer">OpenBSD</a> and <a class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="https://httpd.apache.org/" target="_blank" rel="noopener noreferrer">Apache httpd</a>
</p> </p>
</div>
</div> </div>

Loading…
Cancel
Save