mirror of
https://github.com/withastro/astro.git
synced 2025-09-25 23:15:10 +08:00
Add lang attribute to html tags
This commit is contained in:
@ -2,10 +2,12 @@
|
||||
// Component Imports
|
||||
import Counter from '../components/Counter.vue'
|
||||
|
||||
let lang = 'en';
|
||||
|
||||
// Full Astro Component Syntax:
|
||||
// https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
|
||||
---
|
||||
<html>
|
||||
<html lang={ lang ?? 'en' }>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta
|
||||
|
Reference in New Issue
Block a user