{{ 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 class="col-md-12">
<section class="timeline">
<div class="container" style="text-align: left!important">
{{ range (.Pages.ByParam "eventdate").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 "eventdate" }}
<div class="date">
{{ dateFormat "2 January 2006" $eventdate }} - {{ .Param "eventplace" }}
<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>
{{ if .Param "schedule" }}
<a class="btn-outline-primary btn-sm btn" href="{{ .Param "schedule" }}">
Schedule <i class="fas fa-external-link-alt"></i>
{{ if .Param "recordings" }}
<a class="btn-outline-primary btn-sm btn" href="{{ .Param "recordings" }}">
Recordings <i class="fas fa-external-link-alt"></i>
</p>
</section>
</main>
{{ partial "footer.html" . }}