Show "Read More" for pages with explicit summary

master
Kevin C. Coram 2019-12-31 14:42:27 -08:00
parent d85b7b90b1
commit bec0829c63
Firmato da: kevin
ID Chiave GPG: 0342351B3D61AD35
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni

Vedi File

@ -10,7 +10,7 @@
<section class="p-summary">
{{ .Summary }}
</section>
{{- if .Truncated }}
{{- if or .Truncated (gt .FuzzyWordCount 100) }}
<footer>
<a href='{{ .Permalink }}'>
<span style="white-space: nowrap;">Read more →</span>