mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 20:16:48 +00:00
talks: Parse Markdown in authors param (#673)
This commit is contained in:
1 parent
7b639f107c
commit
099a13b688
3 files changed
+7
-1
No files matched your search
@@ -8,6 +8,9 @@ draft = false
|
||||
time_start = {{ .Date }}
|
||||
time_end = {{ .Date }}
|
||||
|
||||
# Authors. Comma separated list, e.g. `["Bob Smith", "David Jones"]`.
|
||||
authors = []
|
||||
|
||||
# Abstract and optional shortened version.
|
||||
abstract = ""
|
||||
abstract_short = ""
|
||||
|
||||
@@ -8,6 +8,9 @@ draft = false
|
||||
time_start = 2030-06-01T13:00:00
|
||||
time_end = 2030-06-01T15:00:00
|
||||
|
||||
# Authors. Comma separated list, e.g. `["Bob Smith", "David Jones"]`.
|
||||
authors = []
|
||||
|
||||
# Abstract and optional shortened version.
|
||||
abstract = ""
|
||||
abstract_short = ""
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<h1 itemprop="name">{{ .Title }}</h1>
|
||||
<span class="pub-authors" itemprop="author">
|
||||
{{ with .Params.authors }}
|
||||
{{ delimit . ", " }}
|
||||
{{ delimit . ", " | markdownify }}
|
||||
{{ end }}
|
||||
</span>
|
||||
<span class="pull-right">
|
||||
|
||||
Reference in new issue
Block a user