diff options
author | Florrie <towerofnix@gmail.com> | 2020-06-29 15:35:29 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2020-06-29 15:35:29 -0300 |
commit | 3e3cf5867ab1e6afff432a1daabf999d2eac246e (patch) | |
tree | 8e966485952dea58b8bcb94a0c887053e8a8a882 /upd8.js | |
parent | 4afad0df6aa435a50b4323604b16603ec43c7c50 (diff) |
fix random links bug caused by <base> changes
this also adds a new track "Friendship Aneurysm" to Squiddles :P
Diffstat (limited to 'upd8.js')
-rw-r--r-- | upd8.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js index 938e20af..11c64e5a 100644 --- a/upd8.js +++ b/upd8.js @@ -701,7 +701,7 @@ async function writePage(directoryParts, titleOrHead, body) { // a C.ROOT_DIRECTORY should work. Um... okay, fine, I'll do that.) await writeFile(path.join(directory, 'index.html'), rebaseURLs(directory, fixWS` <!DOCTYPE html> - <html> + <html data-rebase="${path.relative(directory, C.SITE_DIRECTORY)}"> <head> ${[ `<meta charset="utf-8">`, |