Back to Hugo

RelPermalink

docs/content/en/methods/page/RelPermalink.md

0.161.1252 B
Original Source

Project configuration:

{{< code-toggle file=hugo >}} title = 'Documentation' baseURL = 'https://example.org/docs/' {{< /code-toggle >}}

Template:

go-html-template
{{ $page := .Site.GetPage "/about" }}
{{ $page.RelPermalink }} → /docs/about/