Commit 8169ef31 authored by  JosephK's avatar JosephK
Browse files

Fix meta title & date

parent 90607a29
Pipeline #436608 passed with stages
in 2 minutes and 42 seconds
......@@ -26,7 +26,7 @@ const env = {
available: [],
enabled: [],
},
date: JSON.stringify(fs.statSync('./src').mtime),
date: fs.statSync('./src').mtime,
dist: path.resolve(__dirname, '../dist'),
img: {
assets: './public/img/',
......
......@@ -11,8 +11,8 @@ export default {
metaInfo() {
/* Prepare meta data */
const info = {
title: this.$te(`meta.${this.$route.meta.id}.title`)
? `${this.$t('meta.title', '-t')} - ${this.$t(`meta.${this.$route.meta.id}.title`, '-t')}`
title: this.$te(`${this.$route.meta.id}.title`)
? `${this.$t('meta.title', '-t')} - ${this.$t(`${this.$route.meta.id}.title`, '-t')}`
: this.$t('meta.title', '-t'),
description: this.$te(`meta.${this.$route.meta.id}.description`)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment