{{ define "main-class" }}--section layouts-cv-cv{{ end }} {{ define "header-scripts" }} {{ if ( or ( eq .Type "cv" ) ( .IsDescendant ( .GetPage "/cv/organisations" ) ) ) }} {{ end }} {{ end }} {{ define "footer-scripts" }} {{ if ( not ( .IsDescendant ( .GetPage "/cv/organisations" ) ) ) }} {{ $js := resources.Get "js/roles-chart.js" | resources.ExecuteAsTemplate "/js/render-roles-timeline.js" ( .GetPage "cv/roles" ) | resources.Fingerprint }} {{- end -}} {{ end }} {{ define "main-header" }}

{{- .Title | safeHTML -}}. {{ if not ( or ( eq .Type "cv" ) ( eq .Type "cv/organisations" ) ) -}} {{- range .AlternativeOutputFormats -}} RSS feed {{- end -}} {{- end -}}

{{- .Content -}} {{- partialCached "cv/timeline-legend.html" . -}}
{{ end }} {{ define "main-body" }}
{{ end }}