Closed pnull closed 9 years ago
In our fork https://github.com/GoodLife/meta-tags/tree/flexible-alternate, you can use the following to achieve what you want:
set_meta_tags(
alternate: [
{href:"http://www.example.net/feed.rss", type:"application/rss+xml", title:"RSS"},
],
)
the current alternate logic is only limited to hreflang. However alternate can also be used at many places, such as mobile versioned pages (https://developers.google.com/webmasters/mobile-sites/mobile-seo/configurations/separate-urls#annotation-in-the-html)
So can you consider my fork and see if see if you are happy with the syntax? It is not compatible with previous versions, but I think that can be fixed.
Will this work for you: 6c0d4fa6e9c4a516bcabc7e697f9d6ba8805f550 ?
:+1:
:+1: thanks!
I need to add tags like:
to a blog index page. Unfortunately, this GEM isn't able to do that as far as i can see.