jonasmerlin / astro-seo

Makes it easy to add information that is relevant for SEO to your Astro app.
MIT License
908 stars 50 forks source link

Setting charset within Extend #48

Closed djmtype closed 1 year ago

djmtype commented 1 year ago

Setting meta: [{ name: "charset", charset: "utf-8" }] within the extend object doesn't produce the correct results.

Results render as <meta content="utf-8" name="charset">. The valid result should be <meta charset="utf-8">.

Unfortunately, setting meta: [{ charset: "utf-8" }] is invalid and produces no result.

jonasmerlin commented 1 year ago

@djmtype Thanks for reporting this! I will look into it ASAP.

jonasmerlin commented 1 year ago

@djmtype I added the charset property in 0.6.1 to set this correctly. With this I will close this issue, but feel free to write here if this doesn't solve your problem.