Debian Codegraph @

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

raw
1 ---
2 title: Permalink
3 description: Returns the 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.Permalink]
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 {{ .Permalink }} → https://example.org/index.xml
17 {{ end }}
18 ```