hugo-sandstorm/nuxt.config.js

26 lines
516 B
JavaScript

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