{{ partial "header.html" . }} {{ partial "navbar.html" . }} <main id="main"> <div class="container"> <div class="row"> <div class="col-md-12 text-center"> <h1 class="section-title">{{ .Title }}</h1> <p>{{ .Content }}</p> </div> </div> <div class="row"> <div class="col-md-12"> <section class="timeline"> <div class="container" style="text-align: left!important"> {{ range (.Pages.ByParam "eventdates.from").Reverse }} <div class="timeline-item"> <div class="timeline-img"></div> <div class="timeline-content js--fadeInLeft"> <h2><a href="{{ .Permalink }}"><span class="post-title">{{ .Title }}</span></a></h2> {{ $eventdate := .Param "eventdates.from" }} <div class="date"> {{ dateFormat "2 January 2006" $eventdate }} - {{ .Param "eventplace" }} </div> <p class="text-center"> {{ if .Param "callforpresentation" }} <a class="btn-outline-danger btn-sm btn" href="{{ .Param "callforpresentation" }}"> Call-for-Presentation <i class="fas fa-external-link-alt"></i> </a> {{ end }} {{ if .Param "register" }} <a class="btn-outline-primary btn-sm btn" href="{{ .Param "register" }}"> Register <i class="fas fa-external-link-alt"></i> </a> {{ end }} {{ if .Param "schedule" }} <a class="btn-outline-primary btn-sm btn" href="{{ .Param "schedule" }}"> Schedule <i class="fas fa-external-link-alt"></i> </a> {{ end }} {{ if .Param "recordings" }} <a class="btn-outline-primary btn-sm btn" href="{{ .Param "recordings" }}"> Recordings <i class="fas fa-external-link-alt"></i> </a> {{ end }} </p> </div> </div> {{ end }} </div> </section> </div> </div> </div> </section> </main> {{ partial "footer.html" . }}