kopia lustrzana https://github.com/elk-zone/elk
				
				
				
			fix: add `lang` attr to `<html>`
							rodzic
							
								
									608aad56dd
								
							
						
					
					
						commit
						661e53f639
					
				|  | @ -4,7 +4,11 @@ const isDev = process.dev | |||
| const isPreview = window.location.hostname.includes('deploy-preview') | ||||
| 
 | ||||
| export function usePageHeader() { | ||||
|   const i18n = useI18n() | ||||
|   useHead({ | ||||
|     htmlAttrs: { | ||||
|       lang: () => i18n.locale.value, | ||||
|     }, | ||||
|     titleTemplate: title => `${title ? `${title} | ` : ''}${APP_NAME}${isDev ? ' (dev)' : isPreview ? ' (preview)' : ''}`, | ||||
|     bodyAttrs: { | ||||
|       class: 'overflow-x-hidden', | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Daniel Roe
						Daniel Roe