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

37 lines
1.5 KiB
HTML
Raw Normal View History

2023-10-02 14:06:38 +02:00
<section class="page-title-section overlay" style="background-image: url('{{ .Params.Bg_image | relURL}}'),url('{{`media/titelbild.webp`| relURL}}');">
2022-03-18 13:35:57 +01:00
<div class="container">
<div class="row">
2023-10-02 14:06:38 +02:00
<div class="col-md-8 position-relative" data-pagefind-body>
2023-02-08 15:49:01 +01:00
<ul class="list-inline">
2024-12-01 11:16:44 +01:00
<li class="list-inline-item h2" data-pagefind-ignore>
<a class="text-primary font-header" href="
{{ if .Params.Previous.enable }}
{{ .Params.Previous.link }}
{{ else if .Parent.Page }}
{{ .Parent.Page.Permalink }}
{{ else }}
{{ .Site.baseURL | absURL }}
{{ end }}"
>
<div class="page-title">
{{ if .Params.previous.enable }}
{{ .Params.previous.title }}
{{ else if .Parent.Params.title }}
{{ .Parent.Params.title }}
{{ else }}
Startseite
{{ end }}
</div>
</a>
</li>
2024-01-20 20:09:43 +01:00
<li class="list-inline-item h2">{{ partial "icons/icon" (dict "vendor" "mdi" "name" "chevron-double-right" "className" "align-bottom text-white") }}</li>
2024-12-01 11:16:44 +01:00
<li class="list-inline-item text-white h2 font-header" data-pagefind-weight="10"><div class="page-title">{{ .Title }}</div></li>
2022-03-18 13:35:57 +01:00
</ul>
2024-09-17 10:14:35 +02:00
<div class="text-white text-opacity-75">
{{ .Params.description | markdownify }}
</div>
2022-03-18 13:35:57 +01:00
</div>
</div>
</div>
</section>