mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-19 20:14:27 +00:00
publication: Make abstract optional (#382)
This commit is contained in:
1 parent
086441ff3e
commit
84eb4a6e30
1 file changed
+2
@@ -22,8 +22,10 @@
|
|||||||
<img src="{{ "/img/" | relURL }}{{ .Params.image }}" class="pub-banner" itemprop="image">
|
<img src="{{ "/img/" | relURL }}{{ .Params.image }}" class="pub-banner" itemprop="image">
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
{{ if .Params.abstract }}
|
||||||
<h3>{{ i18n "abstract" }}</h3>
|
<h3>{{ i18n "abstract" }}</h3>
|
||||||
<p class="pub-abstract" itemprop="text">{{ .Params.abstract | markdownify }}</p>
|
<p class="pub-abstract" itemprop="text">{{ .Params.abstract | markdownify }}</p>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if (.Params.publication_types) and (ne (index .Params.publication_types 0) "0") }}
|
{{ if (.Params.publication_types) and (ne (index .Params.publication_types 0) "0") }}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
Reference in new issue
Block a user