diff --git a/.changeset/happy-peas-attend.md b/.changeset/happy-peas-attend.md new file mode 100644 index 000000000..af3af1bfc --- /dev/null +++ b/.changeset/happy-peas-attend.md @@ -0,0 +1,18 @@ +--- +'astro': patch +--- + +Adds `Astro.generator` which can be used to add a [``](https://html.spec.whatwg.org/multipage/semantics.html#meta-generator) tag. + +```astro + + + + + + + + +``` diff --git a/examples/basics/src/layouts/Layout.astro b/examples/basics/src/layouts/Layout.astro index 9a46f2d8e..c75726968 100644 --- a/examples/basics/src/layouts/Layout.astro +++ b/examples/basics/src/layouts/Layout.astro @@ -12,6 +12,7 @@ const { title } = Astro.props as Props; + {title} diff --git a/examples/blog/src/components/BaseHead.astro b/examples/blog/src/components/BaseHead.astro index 80de975b1..af6fd380b 100644 --- a/examples/blog/src/components/BaseHead.astro +++ b/examples/blog/src/components/BaseHead.astro @@ -14,6 +14,7 @@ const { title, description } = Astro.props; + {title} diff --git a/examples/component/demo/src/pages/index.astro b/examples/component/demo/src/pages/index.astro index bfdf495a8..f0704e56b 100644 --- a/examples/component/demo/src/pages/index.astro +++ b/examples/component/demo/src/pages/index.astro @@ -6,6 +6,7 @@ import * as Component from '@example/my-component'; + Welcome to Astro