scope differentiates destination over steps
This commit is contained in:
parent
a8217f6241
commit
66d87f22b0
|
@ -1,6 +1,5 @@
|
|||
{{- if .Parent.IsHome -}}
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{- else -}}
|
||||
{{- partial "scope.html" .Parent }}
|
||||
> <a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{- template "scoper" .Parent -}} {{ .Title }}
|
||||
{{- define "scoper" -}}
|
||||
{{- if not .IsHome -}}
|
||||
{{- template "scoper" .Parent }}<a href="{{ .RelPermalink }}">{{ .Title }}</a> > {{ end -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in New Issue