mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
parent
aa39a6095d
commit
1c7e00602b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user