studio1902 / statamic-peak-seo

Belongs to the Statamic Peak Starter Kit and contains all SEO fieldsets and partials.
GNU General Public License v3.0
11 stars 14 forks source link

Added type for Script tag #39

Closed Kuldas closed 9 months ago

Kuldas commented 9 months ago

Today, when adding a custom script tag, I was surprised that the type is not specified when selecting Script tag.

Here's a quick edit :)

Changes proposed in this pull request:

robdekort commented 9 months ago

Hey thanks. However: " Authors are encouraged to omit the attribute if the script refers to JavaScript code rather than specify a MIME type.".

Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type

So I don't think we need this.

Kuldas commented 9 months ago

Ouch 😅, I'm smarter now. Thanks

robdekort commented 9 months ago

Ha! :D