mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Fix inverted examples in Permalink and RelPermalink
This commit is contained in:
@@ -21,5 +21,5 @@ Template:
|
||||
|
||||
```go-html-template
|
||||
{{ $page := .Site.GetPage "/about" }}
|
||||
{{ $page.RelPermalink }} → https://example.org/docs/about/
|
||||
{{ $page.Permalink }} → https://example.org/docs/about/
|
||||
```
|
||||
|
||||
@@ -21,5 +21,5 @@ Template:
|
||||
|
||||
```go-html-template
|
||||
{{ $page := .Site.GetPage "/about" }}
|
||||
{{ $page.Permalink }} → /docs/about/
|
||||
{{ $page.RelPermalink }} → /docs/about/
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user