feat: seo meta + page titles

This commit is contained in:
Nicolas Giard
2018-12-24 17:38:34 -05:00
parent fcee4c0945
commit 10940ca230
14 changed files with 52 additions and 26 deletions

View File

@@ -100,6 +100,12 @@ module.exports = async () => {
app.locals.moment = require('moment')
app.locals.moment.locale(WIKI.config.lang.code)
app.locals.config = WIKI.config
app.locals.pageMeta = {
title: '',
description: WIKI.config.description,
image: '',
url: '/'
}
// ----------------------------------------
// HMR (Dev Mode Only)