ADD Image description, REFACTORING
This commit is contained in:
parent
0ded2e9138
commit
327f17dd39
13 changed files with 45 additions and 55 deletions
|
@ -1,7 +1,7 @@
|
|||
{{ define "main" }}
|
||||
{{ with .Params.image }}
|
||||
{{ if .url }}
|
||||
<img class="coverimage" src="{{ .url }}" />
|
||||
<img class="coverimage" src="{{ .url }}" alt="{{ .alt }}" />
|
||||
{{ else }}
|
||||
<img class="coverimage" src="{{ . }}" />
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue