7
0
Fork 0
This repository has been archived on 2024-10-15. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website_archive/themes/nluug/layouts/partials/footer.html

35 lines
1.4 KiB
HTML

<footer>
<h2>Help mee</h2>
{{ with .File }}<a class="btn btn-cta" href="https://github.com/NLUUG/website/edit/main/content/{{ .Path }}">Verbeter deze pagina</a>{{ end }}
<h2>Volg ons</h2>
{{ $iconsize := .Site.Params.mediumIconSize }}
{{ with .Site.Params.twitter_handle }}
<a href="https://twitter.com/{{ . }}"><img src="/afbeeldingen/iconen/twitter.svg" height="{{ $iconsize }}" width="{{ $iconsize }}" alt="Twitter"></a>
{{ end }}
{{ if and
(.Site.Params.mastodon_handle)
(.Site.Params.mastodon_instance)
}}
<a href="{{ .Site.Params.mastodon_instance }}@{{ .Site.Params.mastodon_handle }}"><img src="/afbeeldingen/iconen/mastodon.svg" height="{{ $iconsize }}" width="{{ $iconsize }}" alt="Mastodon"></a>
{{ end }}
<p>Beschikbare feeds:
<a href="{{ absURL "atom.xml" }}">Atom</a> | <a href="{{ absURL "feed.json" }}">JSON</a>
{{ with .Site.GetPage "/website/laatste-wijzigingen.rst" }} | <a href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}
{{ with .Site.GetPage "/website/sitemap" }} | <a href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}
</p>
{{ if .Site.IsServer }}
<div style="background-color: yellow;">
Kind = {{ .Kind }}<br>
Layout = {{ .Layout }}<br>
Type = {{ .Type }}<br>
Section = {{ .Section }}<br>
BundleType = {{ .BundleType }}<br>
IsPage = {{ .IsPage }}<br>
IsSection = {{ .IsSection }}<br>
</div>
{{ end }}
</footer>