bop-hugo-theme/layouts/partials/scope.html

7 lines
189 B
HTML

{{- if .Parent.IsHome -}}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{- else -}}
{{- partial "scope.html" .Parent }}
> <a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{- end -}}