Debian Codegraph @

docs/content/en/methods/output-format/RelPermalink.md

raw
1 ---
2 title: RelPermalink
3 description: Returns the relative permalink of the page generated by the current output format.
4 categories: []
5 keywords: []
6 params:
7 functions_and_methods:
8 returnType: string
9 signatures: [OUTPUTFORMAT.RelPermalink]
10 ---
11
12 {{% include "/_common/methods/output-formats/to-use-this-method.md" %}}
13
14 ```go-html-template
15 {{ with .Site.Home.OutputFormats.Get "rss" }}
16 {{ .RelPermalink }} → /index.xml
17 {{ end }}
18 ```