Pages Roya

This commit is contained in:
2024-10-15 08:17:27 +02:00
parent 9129268db4
commit 49143c4192
16 changed files with 153 additions and 50 deletions

View File

@@ -13,7 +13,7 @@
<div class="max-w-250 flex-1 m-20">
{{ if (isset .Params "featuredimage" )}}
{{$img := resources.Get .Params.featuredimage}}
<div style='background-image: url({{ $img.Permalink }}); background-size: cover; background-position: center center;' class="bg-bubble w-150 h-150 m-auto"></div>
<div style='background-image: url({{$img.Permalink}}); background-size: cover; background-position: center center;' class="bg-bubble w-150 h-150 m-auto"></div>
{{end}}
<h3 class="primary ta-c">{{.Title}}</h3>
<p class="ta-c" style="font-size: 0.8em; text-style: italic;">Le {{dateFormat "02/01/2006" .Date}}</p>
@@ -23,4 +23,4 @@
{{end}}
</div>
{{end}}
{{end}}