{{/* One piece of content -- a wiki page, blog post, forum topic or Highlights page -- with its breadcrumb, title, facts and body. A wiki page is drawn beside its wiki's whole page tree, the current page marked, as the wiki itself shows it; a page with sub-pages also lists them under its body. The wiki is found by walking up the ancestors to the one whose `params.kind` is `wiki`. The sub-pages list holds only the direct children, in wiki order; the tree beside it shows the rest. */}} {{- $wiki := false }} {{- if eq .Params.kind "wiki_page" }} {{- range .Ancestors }}{{ if eq .Params.kind "wiki" }}{{ $wiki = . }}{{ end }}{{ end }} {{- end }}
{{- with $wiki }} {{- end }}
{{- partial "crumbs.html" . }}
{{- .Content }}
{{- if and .IsSection .Pages }} {{- end }}