coherence

This commit is contained in:
Gabriel 2024-11-12 19:36:00 -05:00
parent 98ec2bb929
commit 7a5be89129
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
<h2 style="text-align:center">{{.Get "title"}}</h2> <h2 style="text-align:center">{{.Get "title"}}</h2>
<p>{{.Get "description"}}</p> <p>{{.Get "description"}}</p>
{{ if .Get "audio"}}<audio controls style="width:100%"><source src='{{.Get "audio"}}'></audio>{{end}} {{ if .Get "audio"}}<audio controls style="width:100%"><source src='{{.Get "audio"}}'></audio>{{end}}
<a {{if .Get "href"}}href='{{.Get "href"}}' {{end}}> <a {{if .Get "href"}}href='{{.Get "href"}}' {{end}} target="_blank">
{{if .Get "btn"}} {{if .Get "btn"}}
<button style="margin-bottom:1rem;">{{.Get "btn"}}</button> <button style="margin-bottom:1rem;">{{.Get "btn"}}</button>
{{end}} {{end}}

View file

@ -1,5 +1,5 @@
<div class="gallery"> <div class="gallery">
{{range first 3 .Site.RegularPages}} {{range first 6 .Site.RegularPages}}
{{partial "item" .}} {{partial "item" .}}
{{end}} {{end}}
</div> </div>