mirror of
https://github.com/CorentinTh/it-tools
synced 2026-05-06 04:20:45 +00:00
feat(seo): added canonical url
This commit is contained in:
@@ -122,6 +122,17 @@ export default class DefaultLayout extends mixins(ToolRoutesMixin) {
|
||||
drawer = false
|
||||
items = []
|
||||
appVersion = 'v' + version
|
||||
|
||||
head() {
|
||||
return {
|
||||
link: [
|
||||
{
|
||||
rel: 'canonical',
|
||||
href: 'https://it-tools.tech' + this.$route.path
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user