kpumuk / meta-tags

Search Engine Optimization (SEO) for Ruby on Rails applications.
MIT License
2.73k stars 275 forks source link

Alternate links output empty #91

Closed cmckni3 closed 9 years ago

cmckni3 commented 9 years ago

I tried using the alternate links syntax specified in the second example (referenced below) but the output is empty.

set_meta_tags alternate: [
    { href: 'http://example.fr/base/url', hreflang: 'fr' },
    { href: 'http://example.com/feed.rss', type: 'application/rss+xml', title: 'RSS' },
    { href: 'http://m.example.com/page-1', media: 'only screen and (max-width: 640px)'},
  ]
kpumuk commented 9 years ago

I just released a new version of meta-tags gem, try updating it to 2.1.0.

cmckni3 commented 9 years ago

Aha! Apologies, I didn't notice that master had unreleased changes.

kpumuk commented 9 years ago

No problem, sorry I was delaying the release beyond any reasonable point

cmckni3 commented 9 years ago

Works great! Thanks!