Hoofdpagina aangepast, social media geoptimaliseerd
This commit is contained in:
parent
a324df113e
commit
7ca282cae6
8 changed files with 37 additions and 23 deletions
|
@ -102,6 +102,11 @@ a.button:hover, a.button:active {
|
|||
background-color: $color-button-hover;
|
||||
}
|
||||
|
||||
a.footer-social:link, .a.footer-social:hover {
|
||||
text-decoration: none;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
// Button
|
||||
.btn:link, .btn:visited {
|
||||
border-radius: 4px;
|
||||
|
|
|
@ -16,19 +16,8 @@
|
|||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ if gt (len (.Site.Data.projecten.open)) 0 }}
|
||||
<section>
|
||||
<h2>Lopende projecten</h2>
|
||||
<ul>
|
||||
{{ range $.Site.Data.projecten.open }}
|
||||
<li>{{ .name }} ({{ .description_short }})</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<p>Op de pagina <a href="/projecten/">Projecten</a> beschrijven we deze en andere projecten. Meehelpen? Contacteer een actief projectlid voor meer informatie.</p>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
<h2>Aankomende evenementen</h2>
|
||||
<section>
|
||||
<h2>Aankomende evenementen</h2>
|
||||
|
||||
{{ $upcoming_events := sort .Site.Data.evenementen.kalender "date_start" "asc" }}
|
||||
{{ range $upcoming_events }}
|
||||
|
@ -50,12 +39,28 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
<p>Naast de door ons georganiseerde evenementen staat er meer op de agenda. Zie de uitgebreide <a href="/evenementen/kalender/">evenementenkalender</a> voor meer details.</p>
|
||||
<p>Naast de door ons georganiseerde evenementen staat er meer op de agenda.</p>
|
||||
<ul>
|
||||
{{ range first 10 (where $upcoming_events "date_start" "gt" (dateFormat "2006-01-02" now)) }}
|
||||
<li>{{ .date_start | dateFormat "02-01-2006" }} - {{ .name }}</li>
|
||||
<li>{{ .date_start | dateFormat "02-01-2006" }} - <a href="/evenementen/kalender/#{{ anchorize (.date_start | dateFormat "2006-01-02") }}-{{ anchorize .name }}">{{ .name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<p>» <a href="/evenementen/kalender/">Volledige evenementenkalender</a></p>
|
||||
|
||||
</section>
|
||||
|
||||
{{ if gt (len (.Site.Data.projecten.open)) 0 }}
|
||||
<section>
|
||||
<h2>Lopende projecten</h2>
|
||||
<ul>
|
||||
{{ range $.Site.Data.projecten.open }}
|
||||
<li>{{ .name }} ({{ .description_short }})</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<p>Op de pagina <a href="/projecten/">Projecten</a> beschrijven we deze en andere projecten. Meehelpen? Contacteer een actief projectlid voor meer informatie.</p>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
||||
{{ end }}
|
||||
|
|
|
@ -1,19 +1,23 @@
|
|||
<footer>
|
||||
|
||||
{{ $iconsize_footer := 32 }}
|
||||
<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 }}
|
||||
|
||||
<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>
|
||||
<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 href="{{ .Site.Params.mastodon_instance }}@{{ .Site.Params.mastodon_handle }}"><img src="/afbeeldingen/iconen/mastodon.svg" height="{{ $iconsize }}" width="{{ $iconsize }}" alt="Mastodon"></a>
|
||||
<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:
|
||||
<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 }}
|
||||
|
|
|
@ -1 +1 @@
|
|||
<img src="/afbeeldingen/iconen/{{ .icon }}.svg" height="20" width="20" alt="{{ .icon | default .Site.Params.textNoTitle }}">
|
||||
<img src="/afbeeldingen/iconen/{{ .icon }}.svg" height="{{ .iconsize | default 20 }}" width="{{ .iconsize | default 20 }}" alt="{{ .icon | default .Site.Params.textNoTitle }}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue