mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-27 22:54:22 +01:00
Fix summery to render only plain text & limit 256 chars
This commit is contained in:
parent
2376d33499
commit
7341705fec
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
<div class="content pt-0">
|
<div class="content pt-0">
|
||||||
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
|
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
|
||||||
<p>{{ .Summary }}</p>
|
<p>{{ .Plain | htmlUnescape | truncate 256 }}</p>
|
||||||
<a class="btn btn-transparent" href="{{ .Permalink }}">{{ i18n "readMore" }}</a>
|
<a class="btn btn-transparent" href="{{ .Permalink }}">{{ i18n "readMore" }}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue