{{ $active := .active | default "posts" }} {{ $tabs := slice (dict "id" "posts" "label" "Posts" "href" ("/" | relURL) "pageTitle" site.Title) (dict "id" "projects" "label" "Projects" "href" ("/projects/" | relURL) "pageTitle" (printf "Projects · %s" site.Title)) (dict "id" "publications" "label" "Publications" "href" ("/publications/" | relURL) "pageTitle" (printf "Publications · %s" site.Title)) (dict "id" "contact" "label" "Contact" "href" ("/contact/" | relURL) "pageTitle" (printf "Contact · %s" site.Title)) }}

Posts

{{ partial "post-list.html" (where site.RegularPages "Section" "posts") }}

Projects

{{ partial "page-list.html" (where site.RegularPages "Section" "projects") }}

Publications

{{ partial "publication-list.html" hugo.Data.publications }}

Contact

{{ partial "contact-section.html" . }}