Skip to content

Commit

Permalink
add noindex, indexifembedded to CA
Browse files Browse the repository at this point in the history
  • Loading branch information
emmachughes committed Jun 13, 2024
1 parent 5bf2562 commit 9c75d49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
12 changes: 1 addition & 11 deletions sourcecode/apis/contentauthor/resources/views/h5p/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="robots" content="noindex,indexifembedded">
<title>{{ $title }}</title>
<link media="all" type="text/css" rel="stylesheet" href="{{ mix('css/h5p-core.css') }}">
<link media="all" type="text/css" rel="stylesheet" href="{{ mix('css/h5pcss.css') }}">
Expand All @@ -28,17 +29,6 @@
</script>
</head>
<body>
@if($preview && $inDraftState ?? false)
<div class="draft-resource {{$resourceType}}" onclick="(function(element) {
element.classList.add('hide');
})(this)">
{{trans('common.resource-in-draft-state')}}
<div class="draft-resource-close" aria-label="close">
&times;
</div>
</div>
@endif

{!! $embed !!}
{!! $config !!}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="article-title" content="{{ strip_tags($article->title) }}">
<meta name="article-url" content="{{ route('article.show', $article) }}">
<meta name="robots" content="noindex,indexifembedded">
<title>@yield('title', 'Article')</title>
<link rel="stylesheet" href="{{ mix('css/content_explorer_bootstrap.css') }}">
<link rel="stylesheet" href="{{ mix('css/h5picons.css') }}">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<title>@yield('title')</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="robots" content="noindex,indexifembedded">
<link rel="stylesheet" type="text/css" href="{{mix('css/game.css')}}">
<base href="@yield('basePath', "/")">
@stack('css')
Expand Down

0 comments on commit 9c75d49

Please sign in to comment.