diff options
author | Ivan Boothe <git@rootwork.org> | 2022-05-16 03:47:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-16 03:47:52 +0300 |
commit | 26c9497e1f906afaba917e5ebbc8e8c3693f6279 (patch) | |
tree | 30aaf03d9a7de2e962010ead4c9ef2632c8e8a97 | |
parent | c97c2f2d52c43abbdedfb353730ce358a64a0489 (diff) |
run summaries through markdownify
-rw-r--r-- | layouts/partials/excerpt.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/excerpt.html b/layouts/partials/excerpt.html index 0e2c355..246276a 100644 --- a/layouts/partials/excerpt.html +++ b/layouts/partials/excerpt.html @@ -22,9 +22,9 @@ {{ $summary = .Params.abstract }} {{- end }} {{ if not ( strings.Contains $summary "<p>" ) }} - <p>{{ $summary }}</p> + <p>{{ $summary | markdownify }}</p> {{ else }} - {{ $summary }} + {{ $summary | markdownify }} {{ end }} <br> {{- $r := T "read_more" }} |