gcg-website/layouts/_default/event.html

20 lines
1023 B
HTML
Raw Normal View History

2022-03-19 10:21:45 +01:00
<!--div class="card border-0 rounded-0 hover-shadow">
2022-03-18 13:35:57 +01:00
<div class="card-img position-relative">
<div class="card-date"><span>{{ .Date.Format "2" }}</span><br>{{ .Date.Format "Jan" }}</div>
</div>
<div class="card-body">
<p><i class="ti-location-pin text-primary mr-2"></i>{{ .Params.Location | markdownify }}</p>
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
</div>
2022-03-19 10:21:45 +01:00
</div-->
<li class="d-md-table mb-4 w-100 border-bottom hover-shadow">
<div class="d-md-table-cell text-center p-4 bg-primary text-white mb-4 mb-md-0"><span class="h2 d-block">{{ .Date.Format "2"}}</span> {{ .Date.Format "Jan, 2006"}}</div>
<div class="d-md-table-cell px-4 vertical-align-middle mb-4 mb-md-0">
<p href="{{ .Permalink }}" class="h4 mb-3 d-block">{{ .Title }}</p>
<p class="mb-0">{{ .Summary | truncate 100 }}</p>
</div>
<div class="d-md-table-cell text-right pr-0 pr-md-4"><p><i class="ti-location-pin text-primary mr-2"></i>{{ .Params.Location | markdownify }}</p></div>
</li>