mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-07-09 03:04:06 -04:00
feat(seo): added canonical url
This commit is contained in:
parent
70cf404ec6
commit
3035ba52a2
@ -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…
x
Reference in New Issue
Block a user