RelPermalink
Returns the relative permalink of the given page.
Syntax
PAGE.RelPermalink
Returns
string
Site configuration:
baseURL = 'https://example.org/docs/'
title = 'Documentation'
Template:
{{ $page := .Site.GetPage "/about" }}
{{ $page.RelPermalink }} → /docs/about/
Last updated:
March 5, 2025
:
content: Remove "related" array from function and method pages (2fcd21ee5)
Improve this page