feat: add link module
test / test (push) Failing after 5m44s

This commit is contained in:
2026-11-02 02:41:43 +03:00
parent 7615dbfc48
commit bb6d82d538
11 changed files with 157 additions and 130 deletions
+3 -1
View File
@@ -5,10 +5,12 @@ import { fileURLToPath } from "url";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
export default new Eta({
export const template = new Eta({
autoFilter: true,
escapeFunction: (val: unknown): string => String(val),
filterFunction: (val: unknown): string => (val === null || val === undefined ? "" : String(val)),
useWith: true,
views: path.join(__dirname, "template"),
});
export default template;