You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.8 KiB
HTML

{{ 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 "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" }}
</div>
<p class="text-center">
{{ if .Param "callforpresentation" }}
<a class="btn-outline-danger btn-sm btn" href="{{ .Param "callforpresentation" }}">
Call-for-Presentation&nbsp;<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&nbsp;<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&nbsp;<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&nbsp;<i class="fas fa-external-link-alt"></i>
</a>
{{ end }}
</p>
</div>
</div>
{{ end }}
</div>
</section>
</div>
</div>
</div>
</section>
</main>
{{ partial "footer.html" . }}