diff options
author | Ben Bridle <ben@derelict.engineering> | 2025-01-15 10:00:31 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2025-01-15 10:01:19 +1300 |
commit | 01cd799f688ad39cfb03ede3e149512d1c8faef6 (patch) | |
tree | 472a84dacd34f3564474bf531271690634e77088 /.gitignore | |
parent | 4476a2ed495b712449987299aab8453456c5a748 (diff) | |
download | toaster-01cd799f688ad39cfb03ede3e149512d1c8faef6.zip |
Allow the use of site-local absolute URLs in external links
External links with no protocol that start with a forward-slash are
interpreted as being links to a file in the generated site. To make
these work with the relative-paths paradigm of the generator, the slash
is replaced with the page path-to-root to convert it to a relative path.
This commit also fixes an issue where unlabelled links with no protocol
were being given an empty label.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions