add extended footer text (only english so far)

main
Dominic Reich 1 year ago
parent be7a81b7ce
commit 164b38b222
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

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

@ -0,0 +1,8 @@
<div>
{{ $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>` }}
{{ $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">
{{ i18n "footer.running_on" (dict "OS" $os "Webserver" $webserver) | safeHTML }}
</p>
</div>
Loading…
Cancel
Save