only display '[Read More]' link if post is truncated
This commit is contained in:
parent
938766f54f
commit
999b033f75
@ -48,8 +48,12 @@
|
||||
</p>
|
||||
|
||||
<div class="post-entry">
|
||||
{{ if .Truncated }}
|
||||
{{ .Summary }}
|
||||
<a href="{{ .Permalink }}" class="post-read-more">[Read More]</a>
|
||||
<a href="{{ .Permalink }}" class="post-read-more">[Read More]</a>
|
||||
{{ else }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
Loading…
Reference in New Issue
Block a user