add charset utf-8

This commit is contained in:
Kevin Zuniga Cuellar 2022-07-26 01:36:57 -04:00 committed by Fred K. Schott
parent 4de35f3b70
commit bcca548d46
6 changed files with 21 additions and 5 deletions

View file

@ -10,6 +10,8 @@ import { MyCounter } from '../components/my-counter.js';
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<title>Demo</title>
</head>

View file

@ -7,9 +7,8 @@ const { content } = Astro.props;
<html lang={content.lang || 'en'}>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<title>{content.title}</title>
<style>
.nav {

View file

@ -7,9 +7,8 @@ const { content } = Astro.props;
<html lang={content.lang || 'en'}>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<title>{content.title}</title>
</head>
<body>

View file

@ -0,0 +1,14 @@
---
const { content } = Astro.props;
---
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<title>{content.title}</title>
</head>
<body>
<slot />
</body>
</html>

View file

@ -8,7 +8,8 @@ import Button from '../components/Button.astro';
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<title>Astro + TailwindCSS</title>
</head>

View file

@ -1,5 +1,6 @@
---
title: 'Markdown + Tailwind'
layout: ../layouts/main.astro
setup: |
import Button from '../components/Button.astro';
---