Loading content/events/_index.md −2 Changes for content/events/_index.md: 0 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -3,8 +3,6 @@ title: "Events" linktitle: "Events" --- {{ .Page.CurrentSection }} ## Upcoming events {{< events when="upcoming" series="all" >}} Loading themes/code-editor/layouts/shortcodes/events.html +14 −2 Changes for themes/code-editor/layouts/shortcodes/events.html: 14 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -33,17 +33,29 @@ </div> {{ end }} {{ if or (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 isset .Params "startdate" }} {{ if le .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 2 Jan 2006"}}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ else }} {{ if isset .Params "startdate" }} {{ if le .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 2 Jan 2006"}}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ end }} Loading content/events/panpanpan/_index.md +1 −1 File changed.Contains only whitespace changes. Show changes Loading
content/events/_index.md −2 Changes for content/events/_index.md: 0 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -3,8 +3,6 @@ title: "Events" linktitle: "Events" --- {{ .Page.CurrentSection }} ## Upcoming events {{< events when="upcoming" series="all" >}} Loading
themes/code-editor/layouts/shortcodes/events.html +14 −2 Changes for themes/code-editor/layouts/shortcodes/events.html: 14 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -33,17 +33,29 @@ </div> {{ end }} {{ if or (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 isset .Params "startdate" }} {{ if le .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 2 Jan 2006"}}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ else }} {{ if isset .Params "startdate" }} {{ if le .Params.startdate (now.Format "2006-01-02") }} <li><a href="{{ .Permalink }}">{{ .Params.startdate | dateFormat "Mon 2 Jan 2006"}}: {{ .Params.linktitle }}</a></li> {{ end }} {{ end }} {{ end }} {{ end }} {{ end }} Loading