article image below date
This commit is contained in:
parent
b8ab6695be
commit
b2856c86b7
|
@ -2,13 +2,13 @@
|
||||||
{{- partial "inject/content-before.html" . -}}
|
{{- partial "inject/content-before.html" . -}}
|
||||||
<article class="card {{ if .Site.Params.discreteCards }}discrete{{ end }}">
|
<article class="card {{ if .Site.Params.discreteCards }}discrete{{ end }}">
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
{{ if .Params.Image }}
|
|
||||||
<img src="{{ .Params.Image }}" alt="" />
|
|
||||||
{{ end }}
|
|
||||||
<p class="date">
|
<p class="date">
|
||||||
<span title="Date"> </span>
|
<span title="Date"> </span>
|
||||||
{{ .Date.Format "2006-01-02" }}
|
{{ .Date.Format "2006-01-02" }}
|
||||||
</p>
|
</p>
|
||||||
|
{{ if .Params.Image }}
|
||||||
|
<img src="{{ .Params.Image }}" alt="" />
|
||||||
|
{{ end }}
|
||||||
<div>{{ .Content }}</div>
|
<div>{{ .Content }}</div>
|
||||||
{{ if .Params.tags }}
|
{{ if .Params.tags }}
|
||||||
<hr />
|
<hr />
|
||||||
|
|
Loading…
Reference in New Issue