diff options
author | Darshan Baral <darshanbaral@gmail.com> | 2020-04-16 21:49:43 +0300 |
---|---|---|
committer | Darshan Baral <darshanbaral@gmail.com> | 2020-04-16 21:49:43 +0300 |
commit | fd69e1c46e7350d9932a12d2c2ea7de941b945fb (patch) | |
tree | 685459ed75cc7cd89db6ef970d5aa947ce458ba2 | |
parent | 13f0836a57d5e5dc678235eaeaeeac76a7788579 (diff) |
added plainify to summary in list view
-rw-r--r-- | layouts/_default/list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 226b560..e020f51 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -17,7 +17,7 @@ >{{- dateFormat .Site.Params.theme.dateFormat .Date }}</time
> · {{.Site.Params.author }}</span
>
- <p style="margin: 0; font-size: 0.8em;">{{ substr .Summary 0 125 }}...</p>
+ <p style="margin: 0; font-size: 0.8em;">{{ substr .Summary 0 125 | plainify }}...</p>
</div>
{{ end }}
</div>
|