public-web/layouts/services/list.html

27 lines
809 B
HTML
Raw Normal View History

2022-10-21 12:56:21 +02:00
{{ define "title" }}{{ site.Title }}{{ end }}
{{ define "main" -}}
2024-07-16 03:19:06 +02:00
{{ partial "header.html" . }}
2022-10-21 12:56:21 +02:00
<main>
<section class="container mx-auto px-6 mb-6 mt-6 prose">
2023-04-10 12:48:24 +02:00
<div class="max-w-screen-lg">{{ .Content }}</div>
2022-10-21 12:56:21 +02:00
</section>
<section class="container mx-auto px-6 my-16">
{{ partial "services.html" }}
</section>
2023-05-06 11:32:33 +02:00
<section class="container mx-auto px-6 my-16">
2024-06-19 23:01:19 +02:00
<h2 class="subheading mb-8">{{ i18n "other_services" }}</h2>
2023-05-06 11:32:33 +02:00
<ul class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-x-8 gap-y-12">
{{ $services := where site.RegularPages.ByWeight "Type" "services" }}
{{ range (where $services "Params.category" "secondary") }}
<li>
{{ partial "service-card" (dict "service" . ) }}
</li>
{{ end }}
</ul>
</section>
2022-10-21 12:56:21 +02:00
</main>
{{ end }}