mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-06-16 03:05:11 -04:00
feat(seo): added canonical url
This commit is contained in:
parent
70cf404ec6
commit
3035ba52a2
1 changed files with 11 additions and 0 deletions
|
@ -122,6 +122,17 @@ export default class DefaultLayout extends mixins(ToolRoutesMixin) {
|
||||||
drawer = false
|
drawer = false
|
||||||
items = []
|
items = []
|
||||||
appVersion = 'v' + version
|
appVersion = 'v' + version
|
||||||
|
|
||||||
|
head() {
|
||||||
|
return {
|
||||||
|
link: [
|
||||||
|
{
|
||||||
|
rel: 'canonical',
|
||||||
|
href: 'https://it-tools.tech' + this.$route.path
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue