RelPermalink
Returns the relative permalink of the page generated by the current output format.
- Syntax
- OUTPUTFORMAT.RelPermalink
- Returns
- string
To use this method you must first select a specific output format from a page’s OutputFormats collection using the Get or Canonical methods.
{{ with site.Home.OutputFormats.Get "rss" }}
{{ .RelPermalink }} → /index.xml
{{ end }}Last updated:
November 8, 2026
:
content: Remove categories from front matter (1cc1dd83a)
Improve this page