We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<% set_meta_tags noindex: 'robots', nofollow: 'googlebot' %> <%= display_meta_tags%>
and it's expected output will be
<meta name="robots" content="noindex"> <meta name="googlebot" content="nofollow">
but now actually the output is
<meta name="robots" content="noindex, nofollow">
with more research, I found this causes only if noindex name is 'robots' or anything other than String object. so then,
noindex
<% set_meta_tags noindex: 'googlebot', nofollow: 'hogehoge' %> <%= display_meta_tags%>
doesn't matter:
<meta name="googlebot" content="noindex"> <meta name="hogehoge" content="nofollow">
I think this is a bug of these code:
meta-tags/lib/meta_tags/meta_tags_collection.rb
Lines 145 to 152 in c3addee
Lines 198 to 204 in c3addee
especially in
Line 200 in c3addee
The text was updated successfully, but these errors were encountered:
Fixing a bug when noindex is "robots" and nofollow is a specific robo…
9e99f46
…t name, both are treated as "robots". Closes #195
Thank you for the report, the issue should be resolved in master, and in the version 2.12.0 when it is released.
2.12.0
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
and it's expected output will be
but now actually the output is
with more research,
I found this causes only if
noindex
name is 'robots' or anything other than String object.so then,
doesn't matter:
I think this is a bug of these code:
meta-tags/lib/meta_tags/meta_tags_collection.rb
Lines 145 to 152 in c3addee
meta-tags/lib/meta_tags/meta_tags_collection.rb
Lines 198 to 204 in c3addee
especially in
meta-tags/lib/meta_tags/meta_tags_collection.rb
Line 200 in c3addee
The text was updated successfully, but these errors were encountered: