gcg-website/layouts/partials/header-contest.html

23 lines
830 B
HTML
Raw Permalink Normal View History

2023-10-02 14:40:36 +02:00
<section class="section" data-pagefind-body>
2023-07-29 13:16:25 +02:00
<div class="container">
{{ if (and .Params.image (ne .Params.image "/media/image.webp") ) }}
<img class="img-fluid w-100 mb-4" src="{{ .Params.image | relURL }}">
{{ end }}
<div class="d-flex justify-content-between mb-4">
<div class="d-flex align-items-center">
2024-01-20 20:09:43 +01:00
<span class="text-primary icon-md me-2 d-flex">{{ partial "mdi" "crowd"}}</span>
2023-07-29 13:16:25 +02:00
<div class="text-start">
<h6 class="mb-0 text-uppercase">Klassen</h6>
<p class="mb-0">{{ .Params.class }}</p>
</div>
</div>
{{ if .Params.web_url }}
<a href="{{ .Params.web_url | safeURL }}" class="btn btn-primary">Website</a>
{{ end }}
</div>
<hr>
<div class="content text-justify">
{{ .Content }}
</div>
</div>
</section>