images for products

This commit is contained in:
2023-08-12 10:54:42 +02:00
parent 0dd7a29b3b
commit 99feead949
8 changed files with 36 additions and 4 deletions

View File

@@ -10,4 +10,4 @@
</div>
</div>
</div>
{{ end }}
{{ end }}

View File

@@ -1,9 +1,18 @@
<style media="screen">
.title-product-summary{
margin-bottom: 3%;
}
.description-product-summary{
margin-top: 2%;
}
</style>
<a href="{{ .Permalink }}">
<div class="summary border p-3">
<h2 class="text-3xl">
<h2 class="text-3xl title-product-summary">
{{ .Title }}
</h2>
<img src="{{ .Params.img | relURL }}" alt="-product-image-">
<p>{{ .Description }}</p>
<p class="description-product-summary">{{ .Description }}</p>
</div>
</a>