Permalink
Returns the permalink of the page generated by the current output format.
- Syntax
- OUTPUTFORMAT.Permalink
- 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" }}
{{ .Permalink }} → https://example.org/index.xml
{{ end }}Last updated:
October 27, 2026
:
content: Flatten and rename _common snippets (1da4dad14)
Improve this page