1{{- $print := .print -}}
2{{- with .page -}}
3 {{- $page := . -}}
4 {{- $entry := index (partialCached "graph.html" site site.Language.Lang).pages .Path -}}
5 <div class="page-body" data-section="{{ .Section }}">
6 {{- if $print -}}
7 <div class="runningTitle"><span class="supt">{{ .Section }}⁄</span>{{ .Title | truncate 54 }}</div>
8 <div class="runningAuthors">
9 {{- range $i, $path := $entry.nouns.author -}}{{- with site.GetPage $path -}}
10 {{- if $i -}}, {{ end -}}{{- partial "page-link.html" (dict "page" . "label" "author") -}}
11 {{- end -}}{{- end -}}
12 </div>
13 {{- end -}}
14 <div class="title depth-{{ math.Min 2 ($entry.depth | default 0) | int }}"><span class="supt">{{ .Section }}⁄</span>{{ .Title }}</div>
15 <div class="people">
16 {{- range $section := slice "author" "editor" -}}
17 {{- with index $entry.nouns $section -}}
18 {{- partial "graph-menu.html" (dict "cursiveMenuPrefix" "" "menuSection" $section "pagePaths" . "class" " noun" "affiliation" true) -}}
19 {{- end -}}
20 {{- end -}}
21 </div>
22 {{- with .Params.abstract -}}
23 {{- $abstract := partial "content-html.html" (partialCached "page-abstract.html" $page $page.Path $page.Language.Lang) -}}
24 {{- if $print -}}{{- $abstract = partial "print-rewrite.html" (dict "html" $abstract "page" $page "namespace" true) -}}{{- end -}}
25 <div class="abstract"><span class="supt">abstract⁄</span>{{ $abstract }}</div>
26 {{- end -}}
27 {{- with .GetTerms "keywords" -}}
28 <div class="keywords"><span class="supt">keywords⁄</span>{{ range $i, $term := . }}{{ if $i }}, {{ end }}{{ partial "page-link.html" (dict "page" $term) }}{{ end }}</div>
29 {{- end -}}
30 </div>
31{{- end -}}