diff --git a/layouts/partials/printsinglebody.html b/layouts/partials/printsinglebody.html
index 7a51ebc..1d5399b 100644
--- a/layouts/partials/printsinglebody.html
+++ b/layouts/partials/printsinglebody.html
@@ -17,34 +17,33 @@
{{ end }}
-
- {{- range $k, $v := .Page.Params.editors -}}
- {{- with $.GetPage (printf "/editor/%s" $v) -}}
- {{- with not $k -}}
+ {{ $closeDivs := false }}
+ {{ $sandnamePlural := (slice) }}
+ {{ range $k, $v := $.Site.Data.sandpointsnamegraph }}
+ {{ $sandnamePlural = $sandnamePlural | append $v }}
+ {{ end }}
+ {{ $paramsKeys := (slice) }}
+ {{ range $k, $v := $currentNode.Params }}
+ {{ $paramsKeys = $paramsKeys | append $k }}
+ {{ end }}
+ {{ $mentions := intersect $paramsKeys $sandnamePlural }}
+ {{ range $mention := $mentions }}
+ {{ range $k, $m := index $currentNode.Params $mention }}
+ {{ $mentionLink := printf "/%s/%s" (substr $mention 0 -1) $m }}
+ {{- with $.GetPage $mentionLink -}}
+ {{ with not $k }}
+ {{ $closeDivs = true }}
-
editor{{ with $.Page.Params.editors }}{{ if gt (len .) 1 }}s{{ end }}{{ end }}⁄
+
{{ with (index $currentNode.Params $mention) }}{{ if gt (len (index $currentNode.Params $mention)) 1 }}{{ $mention }}{{ else }}{{ substr $mention 0 -1 }}{{ end }}{{ end }}⁄
- {{- end -}}
-
- {{- end -}}
- {{- end -}}
- {{- with .Page.Params.editors -}}
{{- end -}}
-
- {{- range $k, $v := .Page.Params.authors -}}
- {{- with $.GetPage (printf "/author/%s" $v) -}}
- {{- with not $k -}}
-
-
author{{ with $.Page.Params.authors }}{{ if gt (len .) 1 }}s{{ end }}{{ end }}⁄
-
- {{- end -}}
-
- {{- end -}}
- {{- end -}}
- {{- with .Page.Params.authors -}}
{{- end -}}
+ {{ end }}
+
+ {{ end }}
+ {{ end }}
+ {{ end }}
+ {{- with $closeDivs -}}
{{ end }}
{{ if and (not (eq $scratch.depth "crust")) $scratch.has_children }}
@@ -53,8 +52,17 @@
{{ end }}
{{ range $scratch.has_children }}
-
-
{{ .Title }}
+ {{ $authors := "" }}
+ {{ range $k, $authorLink := .Params.authors }}
+ {{ $authorPage := $.GetPage (printf "/author/%s" $authorLink) }}
+ {{ $prefix := ", " }}
+ {{ with not $k }}
+ {{ $prefix = "" }}
+ {{ end }}
+ {{ $authors = printf "%s%s" $prefix $authorPage.Title }}
+ {{ end }}
+
{{ end }}
diff --git a/layouts/partials/singlebody.html b/layouts/partials/singlebody.html
index 55ddda4..6a7e524 100644
--- a/layouts/partials/singlebody.html
+++ b/layouts/partials/singlebody.html
@@ -10,10 +10,7 @@
{{ $sandnamePlural := (slice) }}
-{{ with (index $currentNode.Params "authors") }}
-{{ len (index $currentNode.Params "authors") }}
-{{ end }}
-div class="{{ $scratch.depth | default "crust" }}title">
{{ substr $currentDir 0 -1 }}⁄{{ substr .Title 0 1 }}{{ substr .Title 1 }}
+{{ substr $currentDir 0 -1 }}⁄{{ substr .Title 0 1 }}{{ substr .Title 1 }}