FIX image display in hero section; ADD template for tag display

This commit is contained in:
Hoernschen 2022-06-29 13:03:51 +02:00
parent 849e66eafc
commit d9d8befe21
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
6 changed files with 54 additions and 10 deletions

View file

@ -1,6 +1,10 @@
{{ define "main" }}
{{ with .Params.image }}
<img class="coverimage" src="{{ . }}" />
{{ if .url }}
<img class="coverimage" src="{{ .url }}" />
{{ else }}
<img class="coverimage" src="{{ . }}" />
{{ end }}
{{ end }}
<div class="content">
{{ with .Title }}