mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
f207c417e0
* feat: add generator property and component * chore: remove `Generator` component * chore: update generator description * chore: include generator in examples * chore: update lockfile * chore: format * fix: do not reference core from server runtime * chore: remove component test Co-authored-by: Nate Moore <nate@astro.build>
18 lines
403 B
Markdown
18 lines
403 B
Markdown
---
|
|
'astro': patch
|
|
---
|
|
|
|
Adds `Astro.generator` which can be used to add a [`<meta name="generator">`](https://html.spec.whatwg.org/multipage/semantics.html#meta-generator) tag.
|
|
|
|
```astro
|
|
<html>
|
|
<head>
|
|
<meta name="generator" content={Astro.generator} />
|
|
</head>
|
|
<body>
|
|
<footer>
|
|
<p>Built with <a href="https://astro.build">{Astro.generator}</a></p>
|
|
</footer>
|
|
</body>
|
|
</html>
|
|
```
|