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