{{ partial "header.html" . }} {{ partial "navbar.html" . }} {{ range where .Data.Pages "Type" "home" }} {{ if eq .Title "about" }}
{{ partial "home_biography" . }}
{{ end }} {{ end }} {{ $pubs_len := len (where .Data.Pages "Type" "publication") }} {{ if gt $pubs_len 0 }}

{{ with .Site.Params.publications.title }}{{ . | markdownify }}{{ end }}

{{ with .Site.Params.publications.subtitle }}

{{ . | markdownify }}

{{ end }} {{ if gt $pubs_len .Site.Params.publications.count }}

{{ with .Site.Params.publications.str_all }}{{ . | markdownify }}{{ end }}

{{ end }}
{{ if .Site.Params.publications.detailed_list }} {{ range first .Site.Params.publications.count (where .Data.Pages "Type" "publication") }} {{ partial "publication_list_item" . }} {{ end }} {{ else }}
    {{ range first .Site.Params.publications.count (where .Data.Pages "Type" "publication") }}
  • {{ .Title }}

    {{ partial "publication_links" (dict "content" . "is_list" 1) }}

  • {{ end }}
{{ end }}
{{ end }} {{ $posts_len := len (where .Data.Pages "Type" "post") }} {{ if gt $posts_len 0 }}

{{ with .Site.Params.posts.title }}{{ . | markdownify }}{{ end }}

{{ with .Site.Params.posts.subtitle }}

{{ . | markdownify }}

{{ end }} {{ if gt $posts_len .Site.Params.posts.count }}

{{ with .Site.Params.posts.str_all }}{{ . | markdownify }}{{ end }}

{{ end }}
{{ range first .Site.Params.posts.count (where .Data.Pages "Type" "post") }}
{{ if .Params.image }} {{end}}

{{ partial "article_metadata" (dict "content" . "is_list" 1) }}

{{ if .Truncated }} {{ .Summary }} {{ else }} {{ .Content }} {{ end }}

{{ with .Site.Params.posts.str_read_more }}{{ . | markdownify }}{{ end }}

{{ end }}
{{ end }} {{ $projects_len := len (where .Data.Pages "Type" "project") }} {{ if gt $projects_len 0 }}

{{ with .Site.Params.projects.title }}{{ . | markdownify }}{{ end }}

{{ with .Site.Params.projects.subtitle }}

{{ . | markdownify }}

{{ end }}
    {{ range where .Data.Pages "Type" "project" }}
  • {{ if .Content }}{{ else }}{{ with .Params.external_link }}{{ end }}{{ end }} {{ .Title }} {{ if .Content }}{{ else }}{{ with .Params.external_link }}{{ end }}{{ end }} {{ with .Params.summary }}

    {{ . }}

    {{ end }} {{ if isset .Params "tags" }} {{ $tagsLen := len .Params.tags }} {{ if gt $tagsLen 0 }}
    {{ range $k, $v := .Params.tags }} {{ . }}{{ if lt $k (sub $tagsLen 1) }}, {{ end }} {{ end }}
    {{ end }} {{ end }}
  • {{ end }}
{{ end }} {{ range $index, $page := where .Data.Pages "Type" "home" }} {{ if and (isset .Params "section_id") (not (eq .Params.section_id 0)) }} {{ $title_words := split $page.Title " " }}

{{ title $page.Title }}

{{ with $page.Params.subtitle }}

{{ . | markdownify }}

{{ end }}
{{ $page.Content }}
{{ end }} {{ end }} {{ if .Site.Params.contact.enable }}

{{ with .Site.Params.contact.title }}{{ . | markdownify }}{{ end }}

{{ with .Site.Params.contact.subtitle }}

{{ . | markdownify }}

{{ end }}
{{ partial "home_contact.html" . }}
{{ end }} {{ partial "footer_container.html" . }} {{ partial "footer.html" . }}