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

60 lines
3.4 KiB
HTML

<footer>
{{ $iconsize_footer := 32 }}
<div class="three-column-grid">
<div>
<h2>Help mee</h2>
{{ if .File }}
<a class="btn btn-cta" href="https://github.com/NLUUG/website/edit/main/content/{{ .File.Path }}">Verbeter deze pagina</a>
{{ else }}
<a class="btn btn-cta" href="{{ relURL "website/feedback/" }}">Deel feedback</a>
{{ end }}
</div>
<div>
{{ $iconsize := .Site.Params.mediumIconSize }}
<h2>Volg ons</h2>
<nav aria-label="Social media">
{{ if .Site.Params.twitter_handle }}
<a class="icon" href="https://twitter.com/{{ . }}">{{ partial "show-svg-icon.html" (dict "context" . "icon" "twitter" "iconsize" $iconsize_footer "alt" "Icoon van Twitter" "title" "Twitter mee") }}</a>
{{ end }}
{{ if and
(.Site.Params.mastodon_handle)
(.Site.Params.mastodon_instance)
}}
<a class="icon" href="{{ .Site.Params.mastodon_instance }}@{{ .Site.Params.mastodon_handle }}">{{ partial "show-svg-icon.html" (dict "context" . "icon" "mastodon" "iconsize" $iconsize_footer "alt" "Icoon van Mastodon" "title" "Toots van NLUUG") }}</a>
{{ end }}
<a class="icon" href="https://www.linkedin.com/groups/130891/">{{ partial "show-svg-icon.html" (dict "context" . "icon" "linkedin" "iconsize" $iconsize_footer "alt" "Icoon van LinkedIn" "title" "Vind ons op LinkedIn") }}</a>
<a class="icon" href="https://www.meetup.com/nluug-dutch-unix-linux-user-group/">{{ partial "show-svg-icon.html" (dict "context" . "icon" "meetup" "iconsize" $iconsize_footer "alt" "Icoon van Meetup" "title" "Bekijk onze geplande evenementen") }}</a>
<a class="icon" href="{{ absURL "atom.xml" }}">{{ partial "show-svg-icon.html" (dict "context" . "icon" "rss" "iconsize" $iconsize_footer "alt" "Icoon van Atom-feed" "title" "RSS-feed voor nieuwsberichten") }}</a>
<a class="icon" href="{{ absURL "feed.json" }}">{{ partial "show-svg-icon.html" (dict "context" . "icon" "database" "iconsize" $iconsize_footer "alt" "Icoon van JSON-feed" "title" "JSON Feed voor actueel nieuws") }}</a>
</nav>
</div>
<div>
<h2>Nuttige links</h2>
<nav aria-label="Footer links">
<ul>
<li><a href="{{ relURL "contact/" }}">Contact</a></li>
<li><a href="{{ relURL "privacy/" }}">Privacy</a></li>
</ul>
</nav>
</div>
</div>
<small>Voor meer informatie over deze {{ with .Site.GetPage "/website/" }}<a href="{{ .Permalink }}">{{ .Title | lower }}</a>{{ end }}, zie de {{ with .Site.GetPage "/website/sitemap" }}<a href="{{ .Permalink }}">{{ .Title | lower }}</a>{{ end }}, {{ with .Site.GetPage "/website/laatste-wijzigingen.rst" }}<a href="{{ .Permalink }}">{{ .Title | lower }}</a>{{ end }} en de {{ with .Site.GetPage "/website/stats-for-nerds" }}<a href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}</small>
{{ if .Site.IsServer }}
<div style="background-color: yellow; border: 2px solid black; padding: 10px; margin-top: 20px;">
<strong>Ingebouwde webserver van Hugo gedetecteerd. Deze melding zal niet in productie worden getoond en is voor ontwikkeling.</strong><br>
<ul>
<li>Kind = {{ .Kind }}</li>
<li>Layout = {{ .Layout }}</li>
<li>Type = {{ .Type }}</li>
<li>Section = {{ .Section }}</li>
<li>BundleType = {{ .BundleType }}</li>
<li>IsPage = {{ .IsPage }}</li>
<li>IsSection = {{ .IsSection }}</li>
</ul>
</div>
{{ end }}
</footer>