aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 57010cc..cad6a35 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -25,7 +25,15 @@
{{ end }}
<div class="f5 f4-ns lh-copy pv2">
{{ if in (slice "post" "talk") .Section }}
- {{ partial "author_card" .Site.Params.Author }}
+ {{ range .Params.authors }}
+ {{ $name := . }}
+ {{ $path := printf "/%s/%s" "authors" ( $name | urlize ) }}
+ {{ with $.GetPage $path }}
+ {{ if .File }}
+ {{ partial "author_card" (merge .Params (dict "path" $path )) }}
+ {{ end }}
+ {{ end }}
+ {{ end }}
{{ end }}
{{ partial "post_pager" . }}
</div>