This repository has been archived on 2024-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website/themes/nluug/layouts/_default/single.html

20 lines
469 B
HTML
Raw Permalink Normal View History

2023-05-07 12:58:09 +02:00
{{ define "main" }}
2023-05-10 20:16:35 +02:00
<div>{{ .Content }}</div>
{{ if .IsTranslated }}
<aside>
<h2 lang="en">Page translation</h2>
<div lang="en">This page is also available in the following translations:</div>
<nav>
{{ range .Translations }}
{{ if eq .Language.Lang "en" }}🇬🇧
{{ else if eq .Language.Lang "nl" }}🇳🇱
{{ end }}
<a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
{{ end}}
</nav>
</aside>
{{ end }}
{{ end }}