Permalink
Browse files

talks: Parse Markdown in authors param (#673)

  • Loading branch information...
gcushen committed Sep 6, 2018
1 parent 7b639f1 commit 099a13b68842c996050e5d7c1a6d0880a7aad664
Showing with 7 additions and 1 deletion.
  1. +3 −0 archetypes/talk.md
  2. +3 −0 exampleSite/content/talk/example-talk.md
  3. +1 −1 layouts/talk/single.html
View
@@ -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 = ""
View
@@ -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">

0 comments on commit 099a13b

Please sign in to comment.