Rel
Returns the rel value of the given output format, either the default or as defined in your project configuration.
- Syntax
- OUTPUTFORMAT.Rel
- 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" }}
{{ .Rel }} → alternate
{{ end }}Last updated:
February 25, 2026
:
Merge commit '0c2fa2460f485e0eca564dcccf36d34538374922' (b0d3364f1)
Improve this page