Add date to box
This commit is contained in:
parent
a372b1068b
commit
0fe537197a
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
||||||
<span class="image featured" data-image="{{ .Params.image }}"></span>
|
<span class="image featured" data-image="{{ .Params.image }}"></span>
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if .Params.date }}
|
||||||
|
<small title="{{ .Date.Format "January 2 2006" }}">{{ .Date.Format "2006-01-02" }}</small>
|
||||||
|
{{ end }}
|
||||||
<a href="{{ .Permalink }}">
|
<a href="{{ .Permalink }}">
|
||||||
<h3>{{ title .LinkTitle }}</h3>
|
<h3>{{ title .LinkTitle }}</h3>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue