Skip to content

Commit

Permalink
Add HTML lang attribute. Add charset and viewport meta tags to `Bas…
Browse files Browse the repository at this point in the history
…e` layout.
  • Loading branch information
askoufis committed Aug 26, 2023
1 parent 21fc1cc commit 4974b65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion site/src/layouts/Base.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ interface Props {
const { title } = Astro.props;
---

<html class={base}>
<html class={base} lang='en'>
<head>
<meta charset='utf-8' />
<meta name='viewport' content='width=device-width, initial-scale=1' />
<title>{title}</title>
<link rel='preconnect' href='https://fonts.googleapis.com' />
<link rel='preconnect' href='https://fonts.gstatic.com' crossorigin />
Expand Down

0 comments on commit 4974b65

Please sign in to comment.