Add optional Read more. Close #47
This commit is contained in:
parent
09f5cf0373
commit
3d08f96509
7 changed files with 14 additions and 10 deletions
|
@ -6,11 +6,11 @@
|
|||
<div class="content post-summary">
|
||||
{{ .Summary | safeHTML }}
|
||||
</div>
|
||||
<!-- {{ if .Truncated }}
|
||||
{{ if and (.Truncated) (.Site.Params.readMore) }}
|
||||
<div class="read-more">
|
||||
<a href="{{ .RelPermalink }}">{{ i18n "readMore" | humanize }}</a>
|
||||
</div>
|
||||
{{ end }} -->
|
||||
{{ end }}
|
||||
|
||||
{{ partial "postInfo.html" . }}
|
||||
</article>
|
Loading…
Add table
Add a link
Reference in a new issue