mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
publication: Make abstract optional (#382)
This commit is contained in:
parent
086441ff3e
commit
84eb4a6e30
1 changed files with 2 additions and 0 deletions
|
@ -22,8 +22,10 @@
|
|||
<img src="{{ "/img/" | relURL }}{{ .Params.image }}" class="pub-banner" itemprop="image">
|
||||
{{end}}
|
||||
|
||||
{{ if .Params.abstract }}
|
||||
<h3>{{ i18n "abstract" }}</h3>
|
||||
<p class="pub-abstract" itemprop="text">{{ .Params.abstract | markdownify }}</p>
|
||||
{{ end }}
|
||||
|
||||
{{ 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