forked from laurens/fediversity_website
50 lines
2.1 KiB
HTML
50 lines
2.1 KiB
HTML
<footer>
|
|
{{ $iconsize_footer := 32 }}
|
|
|
|
<div class="three-column-grid">
|
|
|
|
<div>
|
|
{{ $iconsize := .Site.Params.mediumIconSize }}
|
|
<h2>Follow us</h2>
|
|
|
|
<nav aria-label="Social media">
|
|
{{ 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/">{{ 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="{{ 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>Helpful 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>
|
|
|
|
{{ 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>
|
|
<li>Content types = {{ .Params.content_types }}</li>
|
|
</ul>
|
|
</div>
|
|
{{ end }}
|
|
</footer>
|