Sha256: 56468e8dade5ac6a21f0e4f928b5f36789629843ad8feef9abc186e1703c1feb
Contents?: true
Size: 440 Bytes
Versions: 8
Compression:
Stored size: 440 Bytes
Contents
{{- if in (.Get 0) "/_index.md" -}} {{- $paths := (split (.Get 0) "_index.md") -}} {{- $pagepath := index $paths 0 -}} {{- $anchor := index $paths 1 -}} {{- with .Site.GetPage "section" (trim $pagepath "/") -}} {{- ( printf "%s%s" $pagepath $anchor ) | relLangURL -}} {{- end -}} {{- else -}} {{- with .Site.GetPage "section" (.Get 0) }} {{- .RelPermalink -}} {{- else -}} {{- .Get 0 | relref .Page -}} {{- end -}} {{- end -}}
Version data entries
8 entries across 4 versions & 1 rubygems