FIX image display in hero section; ADD template for tag display
This commit is contained in:
parent
849e66eafc
commit
d9d8befe21
6 changed files with 54 additions and 10 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue