added proper dynamic store cards

This commit is contained in:
Hazel Noack 2025-07-10 13:09:56 +02:00
parent 2e1d7d5564
commit 8ee6fd8602
2 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,6 @@
{{range $Store := .Stores }} {{range $Store := .Stores }}
<a target="_blank" href="{{ $Store.Url }}" class="card"> <a target="_blank" href="{{ $Store.Url }}" class="card">
<h3>{{ $Store.Name }}</h3> <h3>{{ $Store.Name }}</h3>
<p>{{ $Store.Description }}</p>
</a> </a>
{{- end }} {{- end }}
</div> </div>

View File

@ -38,7 +38,7 @@ func DefaultRenderingConfig() RenderingConfig {
SearchInputName: "q", SearchInputName: "q",
StoreFilter: diyhrt.StoreFilter{ StoreFilter: diyhrt.StoreFilter{
Limit: 5, Limit: 4,
}, },
} }
} }