Fix more tag

This commit is contained in:
Dmitry Kolosov 2020-01-27 23:05:33 +03:00
parent 95d551b945
commit 4495f31d48
3 changed files with 21 additions and 10 deletions

View File

@ -30,10 +30,14 @@
</ul>
{{ end }}
</div>
{{ .Summary }}
<div class="content">
{{ .Summary | safeHTML }}
</div>
{{ if .Truncated }}
<div class="read-more">
<a href="{{ .RelPermalink }}">{{ i18n "readMore" | humanize }}</a>
</div>
{{ end }}
</article>
{{ end }}

View File

@ -17,11 +17,14 @@
<div class="article-date">{{ .Params.date.Format "2006-01-02" }}</div>
{{ end }}
</div>
<div class="content">
{{ .Summary }}
</div>
{{ if .Truncated }}
<div class="read-more">
<a href="{{ .RelPermalink }}">{{ i18n "readMore" | humanize }}</a>
</div>
{{ end }}
</article>
{{ end }}

View File

@ -17,10 +17,14 @@
<div class="article-date">{{ .Params.date.Format "2006-01-02" }}</div>
{{ end }}
</div>
<div class="content">
{{ .Summary }}
</div>
{{ if .Truncated }}
<div class="read-more">
<a href="{{ .RelPermalink }}">{{ i18n "readMore" | humanize }}</a>
</div>
{{ end }}
</article>
{{ end }}