article image below date

This commit is contained in:
Gabriele Musco 2021-03-10 09:07:13 +01:00
parent b8ab6695be
commit b2856c86b7
No known key found for this signature in database
GPG Key ID: 8539FD3454380B83
1 changed files with 3 additions and 3 deletions

View File

@ -2,13 +2,13 @@
{{- 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" }}
</p>
{{ if .Params.Image }}
<img src="{{ .Params.Image }}" alt="" />
{{ end }}
<div>{{ .Content }}</div>
{{ if .Params.tags }}
<hr />