Update html.js

This commit is contained in:
Stripes
2022-10-27 11:35:21 +03:00
committed by GitHub
parent 8218913fa1
commit 170a571cb2
+3 -3
View File
@@ -3,9 +3,9 @@ const path = require('path')
const templateFolder = path.join(__dirname, '..', 'template')
const addonPageTemplate = fs.readFileSync(path.join(templateFolder, 'template', 'addon', 'index.html')).toString()
const homePageTemplate = fs.readFileSync(path.join(templateFolder, 'template', 'home', 'index.html')).toString()
const homePageAddonTemplate = fs.readFileSync(path.join(templateFolder, 'template', 'home', 'list-addon.html')).toString()
const addonPageTemplate = fs.readFileSync(path.join(templateFolder, 'addon', 'index.html')).toString()
const homePageTemplate = fs.readFileSync(path.join(templateFolder, 'home', 'index.html')).toString()
const homePageAddonTemplate = fs.readFileSync(path.join(templateFolder, 'home', 'list-addon.html')).toString()
const processHtml = (templateName, map) => {
let template