{{ define "title" }}{{ .Title }} - {{ .Site.Title }}{{ end }} {{ define "content" }} {{ partial "research/styles.html" . }} {{- $segments := split (strings.TrimPrefix "/" (strings.TrimSuffix "/" .RelPermalink)) "/" -}} {{- $depth := len $segments -}} {{- if eq $depth 1 -}} {{/* Research root: optional intro (content of _index.md), then data-driven publication list. */}} {{- with .Content }}