From 1f69fa61f53cc2875b6baffa20967d730d40aaf2 Mon Sep 17 00:00:00 2001 From: Janis Klaise Date: Tue, 1 Aug 2017 02:00:55 +0100 Subject: [PATCH] Parse Markdown in abstracts (#238) --- layouts/partials/publication_li_detailed.html | 4 ++-- layouts/publication/single.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/publication_li_detailed.html b/layouts/partials/publication_li_detailed.html index c4e4dd6d..2fed2bde 100644 --- a/layouts/partials/publication_li_detailed.html +++ b/layouts/partials/publication_li_detailed.html @@ -32,9 +32,9 @@
{{ if .Params.abstract_short }} - {{ .Params.abstract_short }} + {{ .Params.abstract_short | markdownify }} {{ else }} - {{ .Params.abstract }} + {{ .Params.abstract | markdownify}} {{ end }}
diff --git a/layouts/publication/single.html b/layouts/publication/single.html index 92fe8820..8dffc9e6 100644 --- a/layouts/publication/single.html +++ b/layouts/publication/single.html @@ -24,7 +24,7 @@ {{end}}

{{ i18n "abstract" }}

-

{{ .Params.abstract }}

+

{{ .Params.abstract | markdownify }}

{{ if (.Params.publication_types) and (ne (index .Params.publication_types 0) "0") }}