mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-03 04:02:38 +00:00
19 lines
446 B
Markdown
19 lines
446 B
Markdown
---
|
|
title: Rel
|
|
description: Returns the rel value of the given output format, either the default or as defined in your project configuration.
|
|
categories: []
|
|
keywords: []
|
|
params:
|
|
functions_and_methods:
|
|
returnType: string
|
|
signatures: [OUTPUTFORMAT.Rel]
|
|
---
|
|
|
|
{{% include "/_common/methods/output-formats/to-use-this-method.md" %}}
|
|
|
|
```go-html-template
|
|
{{ with .Site.Home.OutputFormats.Get "rss" }}
|
|
{{ .Rel }} → alternate
|
|
{{ end }}
|
|
```
|