forked from laurens/fediversity_website
Verwijderen van ongeldige 'reversed' op UL-tag, datum op hoofdpagina in consistent formaat
This commit is contained in:
parent
8d0a297fa3
commit
bab473a3b6
|
@ -1,6 +1,6 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<section>
|
<section>
|
||||||
<ul reversed class="list">
|
<ul class="list">
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<li>
|
<li>
|
||||||
<a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
|
<a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<section>
|
<section>
|
||||||
<ul reversed class="list">
|
<ul class="list">
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<li>
|
<li>
|
||||||
<a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
|
<a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
{{ if gt (len (where .Site.RegularPages "Section" "nieuws")) 0 }}
|
{{ if gt (len (where .Site.RegularPages "Section" "nieuws")) 0 }}
|
||||||
<h2>Laatste nieuws</h2>
|
<h2>Laatste nieuws</h2>
|
||||||
<section>
|
<section>
|
||||||
<ul reversed class="list">
|
<ul class="list">
|
||||||
{{ range (first 3 (where .Site.RegularPages "Section" "nieuws").ByDate.Reverse) }}
|
{{ range (first 3 (where .Site.RegularPages "Section" "nieuws").ByDate.Reverse) }}
|
||||||
<li>
|
<li>
|
||||||
<a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
|
<a class="link" href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
|
||||||
|
@ -34,8 +34,8 @@
|
||||||
{{ range $upcoming_events }}
|
{{ range $upcoming_events }}
|
||||||
{{ if eq .highlight_on_homepage true }}
|
{{ if eq .highlight_on_homepage true }}
|
||||||
<div class="highlight-box">
|
<div class="highlight-box">
|
||||||
<div><strong>{{ .name }}</strong></div>
|
<h3>{{ .name }}</h3>
|
||||||
{{ with .date_start }}<p>Datum: {{ . }}</p>{{ end }}
|
{{ with .date_start | dateFormat "02-01-2006" }}<p>Datum: {{ . }}</p>{{ end }}
|
||||||
{{ with .event_address }}<p>Adres: {{ . }}</p>{{ end }}
|
{{ with .event_address }}<p>Adres: {{ . }}</p>{{ end }}
|
||||||
{{ with .event_url }}<a href="{{ . }}" class="button">Meer informatie</a>{{ end }}
|
{{ with .event_url }}<a href="{{ . }}" class="button">Meer informatie</a>{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue