mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-02 11:42:37 +00:00
30a20122b7
# Conflicts: # docs/data/docs.yaml
19 lines
444 B
Markdown
19 lines
444 B
Markdown
---
|
|
title: Permalink
|
|
description: Returns the permalink of the page generated by the current output format.
|
|
categories: []
|
|
keywords: []
|
|
params:
|
|
functions_and_methods:
|
|
returnType: string
|
|
signatures: [OUTPUTFORMAT.Permalink]
|
|
---
|
|
|
|
{{% include "/_common/methods/output-formats/to-use-this-method.md" %}}
|
|
|
|
```go-html-template
|
|
{{ with .Site.Home.OutputFormats.Get "rss" }}
|
|
{{ .Permalink }} → https://example.org/index.xml
|
|
{{ end }}
|
|
```
|