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…
	
		Reference in New Issue
	
	Block a user