Initial commit: 11ty website with Fire/Frost branding

This commit is contained in:
The Trinity
2026-04-02 18:39:00 -05:00
commit 40b45dff2e
1646 changed files with 329080 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import path from "node:path";
import { pathToFileURL } from "node:url";
function addTrailingSlash(path) {
if(path.endsWith("/")) {
return path;
}
return path + "/";
}
function getWorkingDirectory() {
// Trailing slash required
// `import` and `require` should both be relative to working directory (not this file)
return addTrailingSlash(pathToFileURL(path.resolve(".")).toString());
}
export { getWorkingDirectory };