diff --git a/layouts/partials/singlebody.html b/layouts/partials/singlebody.html index c868a2d..71803ee 100644 --- a/layouts/partials/singlebody.html +++ b/layouts/partials/singlebody.html @@ -8,7 +8,7 @@ {{ $currentFile := (printf "/%s" .File) }} {{ $scratch := $s.Get $currentFile }} -
{{ substr $currentDir 0 -1 }}: {{ substr .Title 0 1 }}{{ substr .Title 1 }}
+
{{ substr $currentDir 0 -1 }}⁄{{ substr .Title 0 1 }}{{ substr .Title 1 }}
@@ -17,46 +17,59 @@ {{ end }}
+ {{- range $k, $v := .Page.Params.authors -}} + {{- with $.GetPage (printf "/author/%s" $v) -}} + {{- with not $k -}} +
+
authors⁄
+
+ {{- end -}} + + {{- end -}} + {{- end -}} + {{- with .Page.Params.authors -}}
{{- end -}} + {{ if in .Page.Site.Params.sandpointsMentionedIn (substr $currentDir 0 -1) }}
{{ with $scratch.backlinks }} - mentioned in⁄ +
mentioned in⁄
{{ end }} -
{{ range $scratch.backlinks }} {{ end }} +
{{ end }} {{ if and (not (eq $scratch.depth "crust")) $scratch.has_children }}
{{ with $scratch.has }} - has {{ $scratch.has }}⁄ +
has {{ $scratch.has }}⁄
{{ end }} -
{{ range $scratch.has_children }} {{ end }} +
{{ end }} {{ if eq $scratch.depth "crust" }}
- in {{ index $scratch.in 1 }}⁄ -
+
in {{ index $scratch.in 1 }}⁄
{{ range $scratch.is_in }}
{{ .Title }}
{{ end }} +
{{ end }} -