mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
Parse Markdown in abstracts (#238)
This commit is contained in:
parent
6a2fd0075a
commit
1f69fa61f5
2 changed files with 3 additions and 3 deletions
|
@ -32,9 +32,9 @@
|
|||
|
||||
<div class="pub-abstract" itemprop="text">
|
||||
{{ if .Params.abstract_short }}
|
||||
{{ .Params.abstract_short }}
|
||||
{{ .Params.abstract_short | markdownify }}
|
||||
{{ else }}
|
||||
{{ .Params.abstract }}
|
||||
{{ .Params.abstract | markdownify}}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
{{end}}
|
||||
|
||||
<h3>{{ i18n "abstract" }}</h3>
|
||||
<p class="pub-abstract" itemprop="text">{{ .Params.abstract }}</p>
|
||||
<p class="pub-abstract" itemprop="text">{{ .Params.abstract | markdownify }}</p>
|
||||
|
||||
{{ if (.Params.publication_types) and (ne (index .Params.publication_types 0) "0") }}
|
||||
<div class="row">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue