From 4495f31d48012f76b6c8282ec10a8ad27893dd3a Mon Sep 17 00:00:00 2001 From: Dmitry Kolosov Date: Mon, 27 Jan 2020 23:05:33 +0300 Subject: [PATCH] Fix more tag --- layouts/index.html | 10 +++++++--- layouts/taxonomy/category.html | 11 +++++++---- layouts/taxonomy/tag.html | 10 +++++++--- 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index ac24597..e5ec1c5 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -30,10 +30,14 @@ {{ end }} - {{ .Summary }} -
- {{ i18n "readMore" | humanize }} +
+ {{ .Summary | safeHTML }}
+ {{ if .Truncated }} + + {{ end }} {{ end }} diff --git a/layouts/taxonomy/category.html b/layouts/taxonomy/category.html index 8b3b949..8f5e338 100644 --- a/layouts/taxonomy/category.html +++ b/layouts/taxonomy/category.html @@ -17,11 +17,14 @@ {{ end }}
- {{ .Summary }} -
- {{ i18n "readMore" | humanize }} +
+ {{ .Summary }}
- + {{ if .Truncated }} + + {{ end }} {{ end }} diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html index a9ad471..a11a33f 100644 --- a/layouts/taxonomy/tag.html +++ b/layouts/taxonomy/tag.html @@ -17,10 +17,14 @@ {{ end }}
- {{ .Summary }} -
- {{ i18n "readMore" | humanize }} +
+ {{ .Summary }}
+ {{ if .Truncated }} + + {{ end }} {{ end }}