scope differentiates destination over steps

This commit is contained in:
la Fleur 2020-11-16 19:23:11 +01:00
parent a8217f6241
commit 66d87f22b0
1 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,5 @@
{{- if .Parent.IsHome -}} {{- template "scoper" .Parent -}} {{ .Title }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a> {{- define "scoper" -}}
{{- else -}} {{- if not .IsHome -}}
{{- partial "scope.html" .Parent }} {{- template "scoper" .Parent }}<a href="{{ .RelPermalink }}">{{ .Title }}</a> > {{ end -}}
> <a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{- end -}} {{- end -}}