Set pageurl through get_target_uri in StandaloneHTMLBuilder (#9731)

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
Alex Domingo 2024-10-05 21:51:18 +02:00 committed by GitHub
parent aa39a6095d
commit 1c7e00602b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1063,7 +1063,7 @@ class StandaloneHTMLBuilder(Builder):
if self.config.html_baseurl:
ctx['pageurl'] = posixpath.join(
self.config.html_baseurl, pagename + self.out_suffix
self.config.html_baseurl, self.get_target_uri(pagename)
)
else:
ctx['pageurl'] = None