2020-04-22 21:37:19 +00:00
|
|
|
var fs = require('fs')
|
|
|
|
var hugoVersion = fs.readFileSync('hugo-version').toString()
|
|
|
|
|
2017-03-19 17:04:38 +00:00
|
|
|
module.exports = {
|
|
|
|
/*
|
|
|
|
** Headers of the page
|
|
|
|
*/
|
|
|
|
head: {
|
2020-04-22 21:37:19 +00:00
|
|
|
titleTemplate: `%s - hugo-standstorm v${hugoVersion}`,
|
2017-03-19 17:04:38 +00:00
|
|
|
meta: [
|
|
|
|
{ charset: 'utf-8' },
|
|
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' }
|
|
|
|
]
|
|
|
|
},
|
|
|
|
/*
|
|
|
|
** Add env variables
|
|
|
|
*/
|
|
|
|
env: {
|
2020-04-22 21:37:19 +00:00
|
|
|
baseURL: process.env.BASE_URL || "http://127.0.0.1:8000",
|
|
|
|
hugoVersion: hugoVersion
|
2017-03-19 17:04:38 +00:00
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
"~plugins/sandstorm"
|
|
|
|
]
|
|
|
|
}
|