Hi
When I pass a URL with a fragment identifer to site.GetPage, it returns null. For example:
Case 1: {{- with site.GetPage "/doc/hello/#section1" }}
Case 2: {{- with site.GetPage "/doc/hello/" }}
Case 1 returns null, and Case 2 returns a correct URL.
Is this “by design”?
Using relURL function seems can solve the issue, but the URL cannot start with a ‘/’:
{{ relURL "doc/hello/#section1 }}
Any suggestion?