Sha256: 23cad6f32286fbff141bed42b7cff51a6425e6b79b87351c76ef017fedbf3c35
Contents?: true
Size: 431 Bytes
Versions: 2
Compression:
Stored size: 431 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) }} {{- .URL -}} {{- else -}} {{- .Get 0 | relref .Page -}} {{- end -}} {{- end -}}
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rbcli-0.2.12 | docs-src/themes/hugo-theme-learn/layouts/shortcodes/ref.html |
rbcli-0.2.12 | docs-src/themes/hugo-theme-learn/layouts/shortcodes/relref.html |