diff options
author | 2021-03-30 10:51:31 -0400 | |
---|---|---|
committer | 2021-03-30 10:51:31 -0400 | |
commit | 3b27eaac4384e82e7f08122f0797a9671470781a (patch) | |
tree | 8c4c1b653d7f947e1589a35046ef4f64b92d7c97 /examples | |
parent | dbd764bdeb2b514a426690cedb390edb9c2a75de (diff) | |
download | astro-3b27eaac4384e82e7f08122f0797a9671470781a.tar.gz astro-3b27eaac4384e82e7f08122f0797a9671470781a.tar.zst astro-3b27eaac4384e82e7f08122f0797a9671470781a.zip |
Add support for doctype (#37)
* Add support for doctype
* Automatically prepend doctype
Diffstat (limited to 'examples')
-rw-r--r-- | examples/snowpack/astro/layouts/content-with-cover.astro | 1 | ||||
-rw-r--r-- | examples/snowpack/astro/layouts/content.astro | 1 | ||||
-rw-r--r-- | examples/snowpack/astro/layouts/post.astro | 1 | ||||
-rw-r--r-- | examples/snowpack/astro/pages/404.astro | 1 | ||||
-rw-r--r-- | examples/snowpack/astro/pages/guides.astro | 1 | ||||
-rw-r--r-- | examples/snowpack/astro/pages/index.astro | 3 | ||||
-rw-r--r-- | examples/snowpack/astro/pages/news.astro | 1 | ||||
-rw-r--r-- | examples/snowpack/astro/pages/plugins.astro | 1 |
8 files changed, 8 insertions, 2 deletions
diff --git a/examples/snowpack/astro/layouts/content-with-cover.astro b/examples/snowpack/astro/layouts/content-with-cover.astro index ac84f6354..46006bdfb 100644 --- a/examples/snowpack/astro/layouts/content-with-cover.astro +++ b/examples/snowpack/astro/layouts/content-with-cover.astro @@ -7,6 +7,7 @@ import BaseLayout from '../components/BaseLayout.astro'; export let content: any; --- +<!doctype html> <html> <head> diff --git a/examples/snowpack/astro/layouts/content.astro b/examples/snowpack/astro/layouts/content.astro index 8a7504264..c8f9ca907 100644 --- a/examples/snowpack/astro/layouts/content.astro +++ b/examples/snowpack/astro/layouts/content.astro @@ -7,6 +7,7 @@ import BaseLayout from '../components/BaseLayout.astro'; export let content: any; --- +<!doctype html> <html> <head> diff --git a/examples/snowpack/astro/layouts/post.astro b/examples/snowpack/astro/layouts/post.astro index 8f0a3c52b..05f28bf24 100644 --- a/examples/snowpack/astro/layouts/post.astro +++ b/examples/snowpack/astro/layouts/post.astro @@ -6,6 +6,7 @@ import { format as formatDate, parseISO } from 'date-fns'; export let content: any; --- +<!doctype html> <html> <head> diff --git a/examples/snowpack/astro/pages/404.astro b/examples/snowpack/astro/pages/404.astro index 4677ed50d..053c931f4 100644 --- a/examples/snowpack/astro/pages/404.astro +++ b/examples/snowpack/astro/pages/404.astro @@ -6,6 +6,7 @@ let title = 'Not Found'; let description = 'Snowpack is a lightning-fast frontend build tool, designed for the modern web.'; --- +<!doctype html> <html> <head> diff --git a/examples/snowpack/astro/pages/guides.astro b/examples/snowpack/astro/pages/guides.astro index 608283243..e02856ede 100644 --- a/examples/snowpack/astro/pages/guides.astro +++ b/examples/snowpack/astro/pages/guides.astro @@ -40,6 +40,7 @@ let communityGuides; }); --- +<!doctype html> <html> <head> diff --git a/examples/snowpack/astro/pages/index.astro b/examples/snowpack/astro/pages/index.astro index 31dba0f51..aa5ee59b6 100644 --- a/examples/snowpack/astro/pages/index.astro +++ b/examples/snowpack/astro/pages/index.astro @@ -8,8 +8,8 @@ let title = 'Snowpack'; let description = 'Snowpack is a lightning-fast frontend build tool, designed for the modern web.'; --- +<!doctype html> <html> - <head> <style lang="scss"> @use '../../public/css/var' as *; @@ -149,5 +149,4 @@ let description = 'Snowpack is a lightning-fast frontend build tool, designed fo <!-- Place this tag in your head or just before your close body tag. --> <script async="async" defer="defer" src="https://buttons.github.io/buttons.js"></script> </body> - </html> diff --git a/examples/snowpack/astro/pages/news.astro b/examples/snowpack/astro/pages/news.astro index bd1c7b309..bae3e5ad7 100644 --- a/examples/snowpack/astro/pages/news.astro +++ b/examples/snowpack/astro/pages/news.astro @@ -16,6 +16,7 @@ const title = 'Community & News'; const description = 'Snowpack community news and companies that use Snowpack.'; --- +<!doctype html> <html> <head> diff --git a/examples/snowpack/astro/pages/plugins.astro b/examples/snowpack/astro/pages/plugins.astro index faae4a26d..bffe9b4b9 100644 --- a/examples/snowpack/astro/pages/plugins.astro +++ b/examples/snowpack/astro/pages/plugins.astro @@ -7,6 +7,7 @@ let title = 'The Snowpack Plugin Catalog'; let description = 'Snowpack plugins allow for configuration-minimal tooling integration.'; --- +<!doctype html> <html> <head> |