hugo-sandstorm/nuxt.config.js

26 lines
516 B
JavaScript
Raw Normal View History

2020-04-22 21:37:19 +00:00
var fs = require('fs')
var hugoVersion = fs.readFileSync('hugo-version').toString()
module.exports = {
/*
** Headers of the page
*/
head: {
2020-04-22 21:37:19 +00:00
titleTemplate: `%s - hugo-standstorm v${hugoVersion}`,
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
},
plugins: [
"~plugins/sandstorm"
]
}