summary doesn't work

This commit is contained in:
Gabriel 2024-09-11 11:28:31 -04:00
parent d7ff084ed7
commit f3d450221b

View file

@ -6,7 +6,7 @@
{{end}} {{end}}
{{$author := index .Site.Data.details.staff (.Params.author | default "default")}} {{$author := index .Site.Data.details.staff (.Params.author | default "default")}}
<p>{{if .Date }}{{.Date | time.Format "Jan 02 2006"}}{{end}} {{$author.name}} </p> <p>{{if .Date }}{{.Date | time.Format "Jan 02 2006"}}{{end}} {{$author.name}} </p>
<p>{{.Summary}}</p> <p>{{.Truncated}}</p>
<div class="item-tags">{{if .GetTerms "tags"}}{{ range (.GetTerms "tags")}}<a class ="item-tag" href="{{.RelPermalink}}">{{.LinkTitle}}</a>{{end}} {{end}}</div> <div class="item-tags">{{if .GetTerms "tags"}}{{ range (.GetTerms "tags")}}<a class ="item-tag" href="{{.RelPermalink}}">{{.LinkTitle}}</a>{{end}} {{end}}</div>
</div> </div>