Toevoegen vriendelijke datumnotatie
This commit is contained in:
parent
d729b68a42
commit
3fcd6c443f
|
@ -23,7 +23,7 @@
|
||||||
{{ if .Params.event_register_start_date }}
|
{{ if .Params.event_register_start_date }}
|
||||||
{{ $event_register_start_date := .Params.event_register_start_date | time }}
|
{{ $event_register_start_date := .Params.event_register_start_date | time }}
|
||||||
{{ if le now $event_register_start_date }}
|
{{ if le now $event_register_start_date }}
|
||||||
<p>De inschrijving opent op {{ .Params.event_register_start_date }}</p>
|
<p>De inschrijving opent op {{ .Params.event_register_start_date | time.Format ":date_full" }}.</p>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ if .Params.event_register_end_date }}
|
{{ if .Params.event_register_end_date }}
|
||||||
{{ $event_register_end_date := .Params.event_register_end_date | time }}
|
{{ $event_register_end_date := .Params.event_register_end_date | time }}
|
||||||
|
|
Reference in a new issue