We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 494718c commit 3436d0fCopy full SHA for 3436d0f
src/pallets/markdown.py
@@ -117,7 +117,7 @@ def _rewrite_link(
117
and (page_ref := ref.removesuffix(".md").removesuffix(".toml")) != ref
118
):
119
# remove .md and .toml extensions in links to other pages
120
- return f"{content_dir}/{page_ref}".removeprefix("/")
+ return page_ref
121
else:
122
# other files are served by static content view
123
parts = ["/static/content"]
0 commit comments