added proper dynamic store cards
This commit is contained in:
parent
2e1d7d5564
commit
8ee6fd8602
@ -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>
|
||||||
|
@ -38,7 +38,7 @@ func DefaultRenderingConfig() RenderingConfig {
|
|||||||
SearchInputName: "q",
|
SearchInputName: "q",
|
||||||
|
|
||||||
StoreFilter: diyhrt.StoreFilter{
|
StoreFilter: diyhrt.StoreFilter{
|
||||||
Limit: 5,
|
Limit: 4,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user