2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-12 21:10:47 +08:00

Fix recommendations from #1145

This commit is contained in:
Anton Batenev 2013-07-05 15:59:39 +04:00
parent af36d32f7f
commit 694a6f4970
4 changed files with 9 additions and 7 deletions

View file

@ -78,9 +78,9 @@ module ApplicationHelper
end
end

# Add workaround tag for Yandex crawler
# (see http://help.yandex.ru/webmaster/?id=1125296)
result << tag('meta', name: "fragment", content: "!") if SiteSetting.yandex_workaround
# Add workaround tag for old crawlers which ignores <noscript>
# (see https://developers.google.com/webmasters/ajax-crawling/docs/specification)
result << tag('meta', name: "fragment", content: "!") if SiteSetting.enable_escaped_fragments

result
end