From c0c315882e286fc30c484f55d5d207994bed89bb Mon Sep 17 00:00:00 2001 From: Joe Hutchinson Date: Thu, 6 Aug 2020 18:12:27 -0400 Subject: [PATCH] Fix links breaking li cards when the manual more summary divider is used --- layouts/_default/li-next.html | 2 +- layouts/_default/li.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/li-next.html b/layouts/_default/li-next.html index 2b97804..e95a1c1 100644 --- a/layouts/_default/li-next.html +++ b/layouts/_default/li-next.html @@ -14,7 +14,7 @@ {{ end }}

{{ .Title }}

-

{{ if (isset .Params "description") }}{{ index .Params "description" }}{{ else }}{{ .Summary }}{{ end }}

+

{{ if (isset .Params "description") }}{{ index .Params "description" | htmlUnescape }}{{ else }}{{ .Summary | plainify | htmlUnescape }}{{ end }}

Posted

{{ if (isset .Params "categories") }}

{{ range .Params.categories }}#{{ . }} {{ end }}

{{ end }} diff --git a/layouts/_default/li.html b/layouts/_default/li.html index 6c65511..6e3eb70 100644 --- a/layouts/_default/li.html +++ b/layouts/_default/li.html @@ -14,7 +14,7 @@ {{- end }}

{{ .Title }}

-

{{ if (isset .Params "description") }}{{ index .Params "description" }}{{ else }}{{ .Summary }}{{ end }}

+

{{ if (isset .Params "description") }}{{ index .Params "description" | htmlUnescape }}{{ else }}{{ .Summary | plainify | htmlUnescape }}{{ end }}

Posted

{{ if (isset .Params "categories") }}

{{ range .Params.categories }}#{{ . | urlize | title }} {{ end }}

{{ end }}