fix: avoid showing "read more" link on non-truncated posts
All checks were successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
Felipe M 2025-04-05 19:42:38 +02:00
parent 2af302eeea
commit da6be9678c
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8

View file

@ -9,7 +9,9 @@
<span>{{ .Date.Format "January 2, 2006" }}</span>
</div>
<div class="summary content">{{ .Summary }}</div>
{{- if .Truncated -}}
<p class="text-right"><a href="{{ .RelPermalink }}">Read more &raquo;</a></p>
{{- end -}}
</div>
{{ end }}
<div class="center text-center">