Verified Commit 91b63ce3 authored by Aral Balkan's avatar Aral Balkan
Browse files

Restructure the project for built-in Hugo support in Site.js 13.x+

parent bb0f3ea6
......@@ -12,7 +12,7 @@ stripe.setTelemetryEnabled(false)
const fromSiteRoot = pathToResolve => path.join(__dirname, '../../../', pathToResolve)
const fromClientFolder = pathToResolve => path.join(__dirname, '../../client/', pathToResolve)
const smallTechnologySiteTemplate = fs.readFileSync(fromSiteRoot('template/index.html'), 'utf-8')
const smallTechnologySiteTemplate = fs.readFileSync(fromSiteRoot('.generated/template/index.html'), 'utf-8')
const htmlTemplate = fs.readFileSync(fromClientFolder('patron.html'))
const errorTemplate = fs.readFileSync(fromClientFolder('patron-error.html'))
\ No newline at end of file
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment