mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-23 16:26:15 -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
|
||||
items = []
|
||||
appVersion = 'v' + version
|
||||
|
||||
head() {
|
||||
return {
|
||||
link: [
|
||||
{
|
||||
rel: 'canonical',
|
||||
href: 'https://it-tools.tech' + this.$route.path
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue