{{ .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 }}