added article image in article view
This commit is contained in:
parent
282c64b62f
commit
f5b7d1d34b
|
@ -2,6 +2,9 @@
|
|||
{{- partial "inject/content-before.html" . -}}
|
||||
<article class="card {{ if .Site.Params.discreteCards }}discrete{{ end }}">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ if .Params.Image }}
|
||||
<img src="{{ .Params.Image }}" alt="" />
|
||||
{{ end }}
|
||||
<p class="date">
|
||||
<span title="Date"> </span>
|
||||
{{ .Date.Format "2006-01-02" }}
|
||||
|
|
Loading…
Reference in New Issue