added raw version of website cards
This commit is contained in:
parent
39dfac77a9
commit
7da58e1619
2
dev.toml
2
dev.toml
@ -2,4 +2,4 @@
|
|||||||
Port = 1234
|
Port = 1234
|
||||||
|
|
||||||
[Template]
|
[Template]
|
||||||
ActiveCard = "stores"
|
ActiveCard = "websites"
|
||||||
|
@ -36,6 +36,17 @@
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if eq .ActiveCard "websites" }}
|
||||||
|
<div class="cards" id="websites">
|
||||||
|
{{range $Website := .Websites }}
|
||||||
|
<a target="_blank" href="{{ $Website.Url }}" class="card">
|
||||||
|
<h3>{{ $Website.Name }}</h3>
|
||||||
|
<img class="card-image" src="{{ $Website.ImageUrl }}" alt="{{ $Website.Name }} picture">
|
||||||
|
</a>
|
||||||
|
{{- end }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user