Skip to content

Releases: johantell/metatags

v0.5.0

07 Dec 14:35
Compare
Choose a tag to compare

What's Changed

  • Set canonical tag to current URL if none is set

Full Changelog: v0.4.0...v0.5.0

Migration guide

If you're currently managing canonical tags outside of metatags, you should now preferably remove them to prevent duplications

v0.3.1

14 Feb 07:53
Compare
Choose a tag to compare

Changelog:

  • Require elixir 1.10

  • Add support for common <link> tags: next, canonical, alternate
    and apple-touch-icon-precomposed

  • Add Metatags.put/4 to enable extra attributes to be set on the metatags.
    One example would be:

    Metatags.put(conn, "alternate", "https://my-url.se", hreflang: "sv_SE")

v0.3.0

30 Jul 12:31
644804a
Compare
Choose a tag to compare
  • Move configuration of default values to the plug definition
    To migrate, just move whatever you have in your configuration and put behind plug Metatags in your router.
    If you require environment specific defaults, use Application.get_env/3.

v0.2.2

24 Apr 06:45
2dd59cd
Compare
Choose a tag to compare

Changes:

  • Add [String.t()] to Metatags.put/3 type spec
  • Replace ESpec with ExUnit in internal test suite