---
title: RelPermalink
description: Returns the relative permalink of the page generated by the current output format.
categories: []
keywords: []
params:
  functions_and_methods:
    returnType: string
    signatures: [OUTPUTFORMAT.RelPermalink]
---

{{% include "/_common/methods/output-formats/to-use-this-method.md" %}}

```go-html-template
{{ with .Site.Home.OutputFormats.Get "rss" }}
  {{ .RelPermalink }} → /index.xml
{{ end }}
```
