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:
parent
af36d32f7f
commit
694a6f4970
4 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue