Merge pull request #1135 from sijad/add-noindex-header

Prevent crawlers to index nojs pages
This commit is contained in:
Franz Liedke 2017-02-27 18:13:38 +01:00 committed by GitHub
commit e7bec9fe29

View File

@ -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 }}">