mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 12:14:49 +00:00
Fix inverted examples in Permalink and RelPermalink
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -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