Fix inverted examples in Permalink and RelPermalink

This commit is contained in:
Huc
2024-01-09 18:25:11 +01:00
committed by GitHub
parent ff3e67e3f0
commit 2d2a821010
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,5 +21,5 @@ Template:
```go-html-template ```go-html-template
{{ $page := .Site.GetPage "/about" }} {{ $page := .Site.GetPage "/about" }}
{{ $page.RelPermalink }} → https://example.org/docs/about/ {{ $page.Permalink }} → https://example.org/docs/about/
``` ```
+1 -1
View File
@@ -21,5 +21,5 @@ Template:
```go-html-template ```go-html-template
{{ $page := .Site.GetPage "/about" }} {{ $page := .Site.GetPage "/about" }}
{{ $page.Permalink }} → /docs/about/ {{ $page.RelPermalink }} → /docs/about/
``` ```