Loading content/events/byteweek/_index.md +6 −5 Changes for content/events/byteweek/_index.md: 6 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -7,12 +7,13 @@ price: "Free" series: "byteweek" --- 8 days before Fosdem conference, HSBXL compiles ByteWeek. Eight ‘Bitdays’ of hackatons, workshops and talks. We end the octaweek with the notorious Bytenight! The week before Fosdem conference, HSBXL compiles ByteWeek. Eight 'Bitdays' of hackatons, workshops and talks. We end our week with the notorious [Bytenight](/bytenight)! ## Upcoming Byteweek {{< events when="upcoming" series="byteweek2019" >}} {{< series when="upcoming" series="byteweek2019" >}} ## Past Byteweeks {{< events when="past" series="byteweek2019" >}} No newline at end of file {{< series when="past" series="byteweek2019" >}} No newline at end of file themes/code-editor/layouts/shortcodes/events.html +9 −1 Changes for themes/code-editor/layouts/shortcodes/events.html: 9 added lines, 1 removed line. Original line number Diff line number Diff line {{ $when := .Get "when"}} {{ $series := .Get "series"}} {{ $startpage := .Get "startpage"}} {{ $t := (time $when) }} {{ if eq $when "" }} Loading @@ -8,9 +9,11 @@ {{ range $.Site.RegularPages.ByParam "startdate" }} {{ if or (eq .Type "events") (eq .Type "techtuesday") }} {{ if ne $series "all" }} {{ if ne .Params.start "true"}} {{ if eq .Params.series $series}} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ else }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} Loading @@ -25,19 +28,20 @@ {{ if or (eq .Type "events") (eq .Type "techtuesday") }} {{ if ne $series "all" }} {{ if eq .Params.series $series}} {{ if ne .Params.start "true"}} {{ if isset .Params "startdate" }} {{ if ge .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ else }} {{ if isset .Params "startdate" }} {{ if ge .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ end }} Loading @@ -54,12 +58,14 @@ {{ if ne $series "all" }} {{ if eq .Params.series $series}} {{ if ne .Params.start "true"}} {{ if isset .Params "startdate" }} {{ if lt .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ else }} Loading @@ -85,12 +91,14 @@ {{ if ne $series "all" }} {{ if eq .Params.series $series}} {{ if ne .Params.start "true"}} {{ if isset .Params "startdate" }} {{ if and ( ge $when .Params.startdate) (le $when .Params.enddate) (ne .Params.start "true") }} <li><a href="{{ .Permalink }}">{{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ else }} Loading themes/code-editor/layouts/shortcodes/series.html 0 → 100644 +61 Changes for themes/code-editor/layouts/shortcodes/series.html: 61 added lines, 0 removed lines. Original line number Diff line number Diff line {{ $when := .Get "when"}} {{ $series := .Get "series"}} {{ if eq $when "upcoming" }} <div class="events"> <ul> {{ range $.Site.RegularPages.ByParam "startdate" }} {{ if or (eq .Type "events") (eq .Type "techtuesday") }} {{ if ne $series "all" }} {{ if eq .Params.series $series}} {{ if eq .Params.start "true"}} {{ if isset .Params "startdate" }} {{ if ge .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ else }} {{ if isset .Params "startdate" }} {{ if ge .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ end }} </ul> </div> {{ else if eq $when "past" }} <div class="events"> <ul> {{ range $.Site.RegularPages.ByParam "startdate" }} {{ if or (eq .Type "events") (eq .Type "techtuesday") }} {{ if ne $series "all" }} {{ if eq .Params.series $series}} {{ if eq .Params.start "true"}} {{ if isset .Params "startdate" }} {{ if lt .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ else }} {{ if isset .Params "startdate" }} {{ if lt .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ end }} </ul> </div> {{ end }} No newline at end of file Loading
content/events/byteweek/_index.md +6 −5 Changes for content/events/byteweek/_index.md: 6 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -7,12 +7,13 @@ price: "Free" series: "byteweek" --- 8 days before Fosdem conference, HSBXL compiles ByteWeek. Eight ‘Bitdays’ of hackatons, workshops and talks. We end the octaweek with the notorious Bytenight! The week before Fosdem conference, HSBXL compiles ByteWeek. Eight 'Bitdays' of hackatons, workshops and talks. We end our week with the notorious [Bytenight](/bytenight)! ## Upcoming Byteweek {{< events when="upcoming" series="byteweek2019" >}} {{< series when="upcoming" series="byteweek2019" >}} ## Past Byteweeks {{< events when="past" series="byteweek2019" >}} No newline at end of file {{< series when="past" series="byteweek2019" >}} No newline at end of file
themes/code-editor/layouts/shortcodes/events.html +9 −1 Changes for themes/code-editor/layouts/shortcodes/events.html: 9 added lines, 1 removed line. Original line number Diff line number Diff line {{ $when := .Get "when"}} {{ $series := .Get "series"}} {{ $startpage := .Get "startpage"}} {{ $t := (time $when) }} {{ if eq $when "" }} Loading @@ -8,9 +9,11 @@ {{ range $.Site.RegularPages.ByParam "startdate" }} {{ if or (eq .Type "events") (eq .Type "techtuesday") }} {{ if ne $series "all" }} {{ if ne .Params.start "true"}} {{ if eq .Params.series $series}} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ else }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} Loading @@ -25,19 +28,20 @@ {{ if or (eq .Type "events") (eq .Type "techtuesday") }} {{ if ne $series "all" }} {{ if eq .Params.series $series}} {{ if ne .Params.start "true"}} {{ if isset .Params "startdate" }} {{ if ge .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ else }} {{ if isset .Params "startdate" }} {{ if ge .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ end }} Loading @@ -54,12 +58,14 @@ {{ if ne $series "all" }} {{ if eq .Params.series $series}} {{ if ne .Params.start "true"}} {{ if isset .Params "startdate" }} {{ if lt .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ else }} Loading @@ -85,12 +91,14 @@ {{ if ne $series "all" }} {{ if eq .Params.series $series}} {{ if ne .Params.start "true"}} {{ if isset .Params "startdate" }} {{ if and ( ge $when .Params.startdate) (le $when .Params.enddate) (ne .Params.start "true") }} <li><a href="{{ .Permalink }}">{{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ else }} Loading
themes/code-editor/layouts/shortcodes/series.html 0 → 100644 +61 Changes for themes/code-editor/layouts/shortcodes/series.html: 61 added lines, 0 removed lines. Original line number Diff line number Diff line {{ $when := .Get "when"}} {{ $series := .Get "series"}} {{ if eq $when "upcoming" }} <div class="events"> <ul> {{ range $.Site.RegularPages.ByParam "startdate" }} {{ if or (eq .Type "events") (eq .Type "techtuesday") }} {{ if ne $series "all" }} {{ if eq .Params.series $series}} {{ if eq .Params.start "true"}} {{ if isset .Params "startdate" }} {{ if ge .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ else }} {{ if isset .Params "startdate" }} {{ if ge .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ end }} </ul> </div> {{ else if eq $when "past" }} <div class="events"> <ul> {{ range $.Site.RegularPages.ByParam "startdate" }} {{ if or (eq .Type "events") (eq .Type "techtuesday") }} {{ if ne $series "all" }} {{ if eq .Params.series $series}} {{ if eq .Params.start "true"}} {{ if isset .Params "startdate" }} {{ if lt .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ else }} {{ if isset .Params "startdate" }} {{ if lt .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 02 Jan 2006"}}{{ if and (isset .Params "enddate") (ne .Params.startdate .Params.enddate ) }} till {{ .Params.enddate | dateFormat "Mon 2 Jan 2006"}}{{ end }}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ end }} </ul> </div> {{ end }} No newline at end of file