fediversity_website/themes/nluug/layouts/partials/footer.html

39 lines
1.9 KiB
HTML
Raw Normal View History

<footer>
2023-05-15 11:04:58 +02:00
{{ $iconsize_footer := 32 }}
2023-05-15 13:18:52 +02:00
<h2>Help mee</h2>
{{ with .File }}<a class="btn btn-cta" href="https://github.com/NLUUG/website/edit/main/content/{{ .Path }}" target="_blank" rel="noopener">Verbeter deze pagina</a>{{ end }}
2023-05-15 13:18:52 +02:00
<h2>Volg ons</h2>
{{ $iconsize := .Site.Params.mediumIconSize }}
{{ with .Site.Params.twitter_handle }}
<a class="footer-social" href="https://twitter.com/{{ . }}" target="_blank" rel="noopener">{{- partial "show-svg-icon.html" (dict "context" . "icon" "twitter" "iconsize" $iconsize_footer) -}}</a>
{{ end }}
{{ if and
(.Site.Params.mastodon_handle)
(.Site.Params.mastodon_instance)
}}
<a class="footer-social" href="{{ .Site.Params.mastodon_instance }}@{{ .Site.Params.mastodon_handle }}" target="_blank" rel="noopener">{{ partial "show-svg-icon.html" (dict "context" . "icon" "mastodon" "iconsize" $iconsize_footer) }}</a>
{{ end }}
<a class="footer-social" href="https://www.linkedin.com/groups/130891/" target="_blank" rel="noopener">{{ partial "show-svg-icon.html" (dict "context" . "icon" "linkedin" "iconsize" $iconsize_footer) }}</a>
<a class="footer-social" href="https://www.meetup.com/nluug-dutch-unix-linux-user-group/" target="_blank" rel="noopener">{{ partial "show-svg-icon.html" (dict "context" . "icon" "meetup" "iconsize" $iconsize_footer) }}</a>
<p>Beschikbare feeds:
2023-05-15 15:27:06 +02:00
<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>
2023-05-15 11:04:58 +02:00
{{ 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>