summaryrefslogtreecommitdiff
path: root/src/build/index.mjs
diff options
context:
space:
mode:
authorache <ache@ache.one>2022-09-13 10:38:40 +0200
committerache <ache@ache.one>2022-09-13 10:51:27 +0200
commitfdaa36bb68f9ea4b62cb8e2d9810dbf5b8316955 (patch)
treec834784c9d8ccde05f076bb8d13addd9304cb950 /src/build/index.mjs
parentSet theme on localStorage (diff)
Create an HID template
Diffstat (limited to 'src/build/index.mjs')
-rw-r--r--src/build/index.mjs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build/index.mjs b/src/build/index.mjs
index b30ba8c..73ab0bb 100644
--- a/src/build/index.mjs
+++ b/src/build/index.mjs
@@ -87,11 +87,13 @@ const headerTmpl = fs.readFileSync('src/templates/header.tmpl', 'utf8');
const articleTmpl = fs.readFileSync('src/templates/article.tmpl', 'utf8');
const indexTmpl = fs.readFileSync('src/templates/index.tmpl', 'utf8');
const tagTmpl = fs.readFileSync('src/templates/tag.tmpl', 'utf8');
+const hidTmpl = fs.readFileSync('src/templates/hid.tmpl', 'utf8');
const baseUrl = 'https://ache.one/';
const partials = {
header: headerTmpl,
leftPanel: leftPanelTmpl,
+ hid: hidTmpl,
};
const svg = loadSVG();