Fix copyright and contact links in the footer.
PR: 253094 Submitted by: wosch@
This commit is contained in:
parent
a66d01474d
commit
ad3bb85dd0
1 changed files with 8 additions and 2 deletions
|
@ -1,9 +1,15 @@
|
|||
{{ $language := "" }}
|
||||
{{ $currentLang := $.Site.Language.Lang }}
|
||||
|
||||
{{ if ne $currentLang "en" }}
|
||||
{{ $language = $currentLang }}
|
||||
{{ end }}
|
||||
<footer>
|
||||
<a href={{ "copyright/" | absLangURL }}>{{ i18n "legalNotices" }}</a>
|
||||
<a href={{ printf "%s%s/%s" "https://www.FreeBSD.org/" $language "copyright" }}>{{ i18n "legalNotices" }}</a>
|
||||
| © 1995-{{ now.Format "2006" }}
|
||||
{{ i18n "freebsdProject" }}
|
||||
{{ i18n "copyright" }}
|
||||
{{ i18n "trademark" }}
|
||||
<a href="https://www.freebsdfoundation.org/legal/trademark-usage-terms-and-conditions/">{{ i18n "freebsdFoundation" }}</a>.
|
||||
<a href={{ "mailto/" | absLangURL }}>{{ i18n "contact" }}</a>
|
||||
<a href={{ printf "%s%s/%s" "https://www.FreeBSD.org/" $language "mailto" }}>{{ i18n "contact" }}</a>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in a new issue