mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Parameterize page titles
This commit is contained in:
parent
650b3cef43
commit
906ab2d790
@ -8,7 +8,7 @@ export default {
|
||||
manifest,
|
||||
|
||||
head: {
|
||||
title: 'Human Connection',
|
||||
title: manifest.name,
|
||||
meta: [
|
||||
{
|
||||
charset: 'utf-8',
|
||||
@ -20,7 +20,7 @@ export default {
|
||||
{
|
||||
hid: 'description',
|
||||
name: 'description',
|
||||
content: 'Maintenance page for Human Connection',
|
||||
content: `Maintenance page for ${manifest.name}`,
|
||||
},
|
||||
],
|
||||
link: [
|
||||
|
||||
@ -1,10 +1,9 @@
|
||||
import path from 'path'
|
||||
import dotenv from 'dotenv'
|
||||
import manifest from './constants/manifest.js'
|
||||
|
||||
dotenv.config() // we want to synchronize @nuxt-dotenv and nuxt-env
|
||||
|
||||
const manifest = require('./constants/manifest.js')
|
||||
|
||||
const pkg = require('./package')
|
||||
export const envWhitelist = [
|
||||
'NODE_ENV',
|
||||
@ -68,8 +67,8 @@ export default {
|
||||
** Headers of the page
|
||||
*/
|
||||
head: {
|
||||
title: 'Human Connection',
|
||||
titleTemplate: '%s - Human Connection',
|
||||
title: manifest.name,
|
||||
titleTemplate: `%s - ${manifest.name}`,
|
||||
meta: [
|
||||
{
|
||||
charset: 'utf-8',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user