freedom/layouts/partials/list-item.html

12 lines
578 B
HTML
Raw Normal View History

<div class="list-item">
<div>
<a href="{{.Permalink}}"><h2>{{.Title}}</h2></a>
{{if .Params.audio}}
{{partial "item-audio" .}}
{{end}}
{{$author := index .Site.Data.details.staff (.Params.author | default "default")}}
<p>{{if .Date }}{{.Date | time.Format "Jan 02 2006"}}{{end}} {{$author.name}} </p>
2024-09-14 13:01:35 -04:00
<p>{{.Params.description}}</p>
<div class="item-tags">{{if .GetTerms "tags"}}{{ range (.GetTerms "tags")}}<a class ="item-tag" href="{{.RelPermalink}}">{{.LinkTitle}}</a>{{end}} {{end}}</div>
</div>
</div>