[-] Disable default title for blogs

This commit is contained in:
Hykilpikonna
2021-12-26 21:48:50 -05:00
parent 7cf7f9c5e0
commit 738cd367fd
+1
View File
@@ -57,6 +57,7 @@ export default class App extends Vue
// Use next tick to handle router history correctly
// see: https://github.com/vuejs/vue-router/issues/914#issuecomment-384477609
this.$nextTick(() => {
if (to.name == 'Blog' && to.params) return
document.title = to.meta.title ? `Hykilpikonna - ${to.meta.title}` : 'Hykilpikonna - Home';
})