diff --git a/layouts/persons/single.html b/layouts/persons/single.html index bcf64d38c5ee99299a948a0804a4e93d82b09423..9c4246b17517ac6f18d5b305431d72ac06629aa4 100644 --- a/layouts/persons/single.html +++ b/layouts/persons/single.html @@ -16,8 +16,14 @@ {{ partial "persons/hero-single.html" . }} - <div class="document-content container"> - <div itemscope itemtype="https://schema.org/Person"> + <div class="document-content"> + {{ partial "toc/container.html" + (dict + "toc" "toc/default.html" + "context" . + ) + }} + <div itemscope itemtype="https://schema.org/Person" class="container"> <meta itemprop="name" content="{{ partial "PrepareHTML" .Title }}"> <meta itemprop="url" content="{{ .Permalink }}"> {{- if .Params.image -}} @@ -57,16 +63,20 @@ </div> </div> - {{ if $programsForTeacher }} - {{ partial "persons/programs.html" (dict "programs" $programsForTeacher "slug" $slug) }} - {{ end }} + {{ partial "blocks/list.html" . }} - {{ if $author.Pages }} - {{ partial "persons/posts.html" $author }} - {{ end }} - - {{ if $papersForResearcher }} - {{ partial "persons/papers.html" (dict "papers" $papersForResearcher "slug" $slug) }} - {{ end }} + <div class="container"> + {{ if $programsForTeacher }} + {{ partial "persons/programs.html" (dict "programs" $programsForTeacher "slug" $slug) }} + {{ end }} + + {{ if $author.Pages }} + {{ partial "persons/posts.html" $author }} + {{ end }} + + {{ if $papersForResearcher }} + {{ partial "persons/papers.html" (dict "papers" $papersForResearcher "slug" $slug) }} + {{ end }} + </div> </div> {{ end }}