hugo/tpl/tplimpl/embedded/templates/shortcodes/relref.html

1 line
No EOL
109 B
HTML

{{ if len .Params | eq 2 }}{{ relref .Page (.Get 0) (.Get 1) }}{{ else }}{{ relref .Page (.Get 0) }}{{ end }}