mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 10:42:46 +08:00
Prevent crawlers to index nojs pages
This commit is contained in:
parent
3fd21443c2
commit
be099f0da7
@ -6,6 +6,9 @@
|
||||
<meta name="description" content="{{ $description }}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1">
|
||||
<meta name="theme-color" content="{{ array_get($forum, 'attributes.themePrimaryColor') }}">
|
||||
@if (! $allowJs)
|
||||
<meta name="robots" content="noindex" />
|
||||
@endif
|
||||
|
||||
@foreach ($cssUrls as $url)
|
||||
<link rel="stylesheet" href="{{ $url }}">
|
||||
|
Loading…
x
Reference in New Issue
Block a user