mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 08:15:44 +00:00
Parse Markdown in abstracts (#238)
This commit is contained in:
1 parent
6a2fd0075a
commit
1f69fa61f5
2 files changed
+3
-3
No files matched your search
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user