This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<div class="m-auto p-4 max-w-6xl">
|
<div class="m-auto p-4 max-w-6xl">
|
||||||
<div class="w-full mx-4 my-16 grid max-w-2xl auto-rows-fr grid-cols-1 sm:grid-cols-2 gap-8 sm:mt-20 lg:mx-0 lg:max-w-6xl lg:grid-cols-4 content-center">
|
<div class="w-full mx-4 my-10 grid max-w-2xl auto-rows-fr grid-cols-1 sm:grid-cols-2 gap-8 lg:mx-0 lg:max-w-6xl lg:grid-cols-4 items-center justify-center">
|
||||||
{{ range where site.RegularPages "Section" "pages" }}
|
{{ range where site.RegularPages "Section" "pages" }}
|
||||||
<a href="{{.Page.RelPermalink}}">
|
<a href="{{.Page.RelPermalink}}">
|
||||||
<article class="relative isolate flex flex-col justify-end overflow-hidden rounded-2xl px-8 py-12 text-white bg-mms-nightblue">
|
<article class="relative isolate flex flex-col justify-end overflow-hidden rounded-2xl px-8 py-12 text-white bg-mms-nightblue">
|
||||||
{{ $img := resources.Get .Page.Params.featuredimage}}
|
{{ $img := resources.Get .Page.Params.featuredimage}}
|
||||||
<img src="{{$img.RelPermalink}}" class="max-h-56" alt="{{.Page.Title}}" />
|
<img src="{{$img.RelPermalink}}" class="max-h-56" alt="{{.Page.Title}}" />
|
||||||
<h3 class="text-center text-2xl my-5">{{.Page.Params.subtitle}}</h3>
|
<h3 class="text-center text-xl my-5">{{.Page.Params.subtitle}}</h3>
|
||||||
<p class="text-center">{{.Page.Params.description}}</p>
|
<p class="text-center">{{.Page.Params.description}}</p>
|
||||||
</article>
|
</article>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user