Skip to content

v0.4.0

Compare
Choose a tag to compare
@SethFalco SethFalco released this 04 Dec 14:07
· 5 commits to main since this release

Undoes the language changes introduced in v0.3.0. That was not completely compliant with the spec and is unexpected to users, so I've opted to revert it quickly and replace it with a compliant solution. Consider this a hotfix.

The languages.language property should be a natural language name, but a new property called meta.language has been introduced which sets the document language. It's optional, but strongly recommended for accessibility.

See: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang#accessibility

What's Changed

  • Reverts how languages.language is handled to match v0.2.5.
  • Introduces optional meta.language property to set document language.
  • Makes the <head> of the template a lot more defensive, as every field is optional. This stops including unexpected metadata if certain fields are omitted.