30 lines
872 B
HTML
30 lines
872 B
HTML
|
<div class="item">
|
||
|
|
||
|
<h3>
|
||
|
{{ with .Params.icontag }}
|
||
|
<i class='fa {{ . }}'></i>
|
||
|
{{ end }}
|
||
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||
|
</h3>
|
||
|
|
||
|
{{ .Date.Format (.Site.Params.dateFormat | default "2 January 2006") | $.Scratch.Set "subtitle" }}
|
||
|
{{ with .Description }} {{ $.Scratch.Set "subtitle" . }} {{ end }}
|
||
|
{{ if isset $.Params "subtitle" }}
|
||
|
<h4>{{ .Params.subtitle }}</h4>
|
||
|
<h5>
|
||
|
<span style="color: grey;">
|
||
|
<i class='fa fa-calendar'></i> {{ $.Scratch.Get "subtitle" }}
|
||
|
</span>
|
||
|
</h5>
|
||
|
{{ end }}
|
||
|
|
||
|
|
||
|
{{ if isset $.Params "tags" }}
|
||
|
<i class='fa fa-tags' style='color: grey;'></i>
|
||
|
{{ end }}
|
||
|
{{ range .Params.tags }}
|
||
|
<a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}"><kbd class="item-tag">{{ . }}</kbd></a>
|
||
|
{{ end }}
|
||
|
|
||
|
</div>
|