Skip to content

Commit

Permalink
feat(title): use fancy emoji page title
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow81627 committed Dec 12, 2019
1 parent d555a69 commit a0fca4f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const pkg = require('./package');

module.exports = {
mode: 'universal',
// buildDir: 'public',

env: {
HOST: process.env.HOST,
Expand All @@ -14,7 +13,7 @@ module.exports = {

generate: {
// use '404.html' instead default '200.html'
// fallback: true,
fallback: true,
// dir: 'public',
// routes,
},
Expand All @@ -41,7 +40,7 @@ module.exports = {
head: {
titleTemplate: (titleChunk) => {
// If undefined or blank then we don't need the hyphen
return titleChunk ? `${titleChunk} - Daim` : 'Daim';
return titleChunk ? `${titleChunk} - π’Ÿπ’Άπ’Ύπ“‚` : 'π’Ÿπ’Άπ’Ύπ“‚';
},
meta: [
{ charset: 'utf-8' },
Expand All @@ -55,7 +54,7 @@ module.exports = {
property: 'og:title',
template: (titleChunk) => {
// If undefined or blank then we don't need the hyphen
return titleChunk ? `${titleChunk} - Daim` : 'Daim';
return titleChunk ? `${titleChunk} - π’Ÿπ’Άπ’Ύπ“‚` : 'π’Ÿπ’Άπ’Ύπ“‚';
},
vmid: 'og:title',
},
Expand Down

0 comments on commit a0fca4f

Please sign in to comment.