further search optimizations
All checks were successful
website-main / prod-build (push) Successful in 32s
website-main / test-build (push) Successful in 14s

This commit is contained in:
Denys Konovalov 2023-10-02 14:40:36 +02:00
parent 7f596b02f6
commit a094e0667a
4 changed files with 2 additions and 6 deletions

@ -1,6 +1,5 @@
{{ define "main" }} {{ define "main" }}
<main data-pagefind-body>
{{ partial "header-contest" . }} {{ partial "header-contest" . }}
<section class="section pt-0"> <section class="section pt-0">
@ -13,6 +12,5 @@
</div> </div>
</div> </div>
</section> </section>
</main>
{{ end }} {{ end }}

@ -1,4 +1,4 @@
<section class="section"> <section class="section" data-pagefind-body>
<div class="container"> <div class="container">
{{ if (and .Params.image (ne .Params.image "/media/image.webp") ) }} {{ if (and .Params.image (ne .Params.image "/media/image.webp") ) }}
<img class="img-fluid w-100 mb-4" src="{{ .Params.image | relURL }}"> <img class="img-fluid w-100 mb-4" src="{{ .Params.image | relURL }}">

@ -5,7 +5,7 @@
<ul class="list-inline"> <ul class="list-inline">
<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 }}">{{ if .Params.previous.enable }}{{ .Params.previous.title }}{{ else }}{{ with .Parent.Params.title }}{{.}}{{ else }}Startseite{{ end }}{{ end }}</a></li> <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 }}">{{ if .Params.previous.enable }}{{ .Params.previous.title }}{{ else }}{{ with .Parent.Params.title }}{{.}}{{ else }}Startseite{{ end }}{{ end }}</a></li>
<li class="list-inline-item h2"><i class="mdi mdi-chevron-double-right text-white"></i></li> <li class="list-inline-item h2"><i class="mdi mdi-chevron-double-right text-white"></i></li>
<li class="list-inline-item text-white h2 font-header">{{ .Title }}</li> <li class="list-inline-item text-white h2 font-header" data-pagefind-weight="10">{{ .Title }}</li>
</ul> </ul>
<p class="text-white text-opacity-75">{{ .Params.description | markdownify }}</p> <p class="text-white text-opacity-75">{{ .Params.description | markdownify }}</p>
</div> </div>

@ -1,6 +1,5 @@
{{ define "main" }} {{ define "main" }}
<main data-pagefind-body>
{{ partial "header-contest" . }} {{ partial "header-contest" . }}
<section class="section pt-0"> <section class="section pt-0">
@ -15,6 +14,5 @@
</div> </div>
</div> </div>
</section> </section>
</main>
{{ end }} {{ end }}