diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-01-26 18:13:17 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-01-26 18:13:17 -0400 |
commit | 1b97addab85465cadee6964dd5670dda7ad21458 (patch) | |
tree | 1a1d5a6d6b83505fdfa3a1801fcf31ba88f34d82 /src/write/build-modes/static-build.js | |
parent | 725a33ef50e836553c89a6576f5d281978fe7c47 (diff) |
write: swap between to/absoluteTo based on page absoluteLinks
Diffstat (limited to 'src/write/build-modes/static-build.js')
-rw-r--r-- | src/write/build-modes/static-build.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/write/build-modes/static-build.js b/src/write/build-modes/static-build.js index 3d3c779b..7eb73474 100644 --- a/src/write/build-modes/static-build.js +++ b/src/write/build-modes/static-build.js @@ -322,7 +322,7 @@ export async function go({ language, pagePath, pagePathStringFromRoot: pathname, - to, + to: page.absoluteLinks ? absoluteTo : to, }); let pageHTML, oEmbedJSON; |