add extended footer text (only english so far)
This commit is contained in:
parent
be7a81b7ce
commit
164b38b222
2 changed files with 10 additions and 0 deletions
2
i18n/en.yaml
Normal file
2
i18n/en.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
footer:
|
||||
running_on: "This website is served on an {{ .OS }} server with {{ .Webserver }}"
|
8
layouts/partials/extend-footer.html
Normal file
8
layouts/partials/extend-footer.html
Normal file
|
@ -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…
Reference in a new issue