2022-09-12 16:29:32 -07:00
|
|
|
{{ define "main" }}
|
|
|
|
<div class="layout-{{ .Page.Layout }} container flex flex-col mx-auto mb-32">
|
|
|
|
<header class="container mx-auto md:w-10/12 lg:w-6/12 mt-8 px-4 lg:px-0">
|
|
|
|
{{ partial "templates/breadcrumb.html" . }}
|
2022-09-16 14:37:58 -07:00
|
|
|
<h1 class="text-5xl mb-8">
|
2022-09-12 16:29:32 -07:00
|
|
|
{{ .Title }}
|
|
|
|
</h1>
|
|
|
|
<div>
|
|
|
|
<span class="text-lg">
|
2022-09-16 14:37:58 -07:00
|
|
|
<p>
|
|
|
|
{{ .Description | markdownify }}
|
|
|
|
</p>
|
2022-09-12 16:29:32 -07:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</header>
|
2022-09-16 14:37:58 -07:00
|
|
|
<section class="container mx-auto mt-6">
|
2022-09-12 16:29:32 -07:00
|
|
|
<ul class="w-full md:flex md:flex-wrap lg:max-w-6xl mx-auto lg:justify-center p-0 list-none">
|
|
|
|
{{ range $page := .Page.CurrentSection.Pages }}
|
|
|
|
<li class="md:w-1/2 lg:w-1/3">
|
2022-09-16 14:29:29 -07:00
|
|
|
<div class="px-4 py-2 w-full h-full">
|
2022-09-23 12:34:23 -07:00
|
|
|
<div class="shadow-xl rounded-xl bg-white py-4 px-6 h-full border border-gray-200">
|
2022-09-12 16:29:32 -07:00
|
|
|
{{ with $page }}
|
|
|
|
{{ if .Params.meta_image }}
|
|
|
|
<a class="text-gray-900" href="{{ .RelPermalink }}">
|
2022-09-23 12:34:23 -07:00
|
|
|
<img class="rounded" src="{{ (.Resources.GetMatch .Params.meta_image).RelPermalink }}" alt="{{ .Title }}" />
|
2022-09-12 16:29:32 -07:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
2022-12-22 12:59:04 -08:00
|
|
|
<h2 class="mt-4 leading-none">
|
2022-09-12 16:29:32 -07:00
|
|
|
<span class="text-2xl">
|
|
|
|
<a class="text-gray-900" href="{{ .RelPermalink }}">{{ .Title }}</a>
|
|
|
|
</span>
|
|
|
|
</h2>
|
|
|
|
<p>
|
|
|
|
{{ .Params.card_desc }}
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</section>
|
2022-09-16 14:37:58 -07:00
|
|
|
<section class="container mx-auto px-4 lg:px-0">
|
|
|
|
<div class="lg:max-w-3xl mx-auto">
|
|
|
|
<hr class="my-16" />
|
|
|
|
<div class="text-gray-700">
|
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
2022-09-12 16:29:32 -07:00
|
|
|
</div>
|
|
|
|
{{ end }}
|