File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 5
5
@using Duende .IdentityServer .Models
6
6
@model IdentityServerHost .Pages .Home .Index
7
7
8
+ @section robots
9
+ {
10
+ <meta name =" robots" content =" index, follow, archive" />
11
+ }
12
+
8
13
<!-- Google Tag Manager (noscript) -->
9
14
<noscript >
10
15
<iframe src =" https://www.googletagmanager.com/ns.html?id=GTM-MMR39D3G"
11
16
height =" 0" width =" 0" style =" display :none ;visibility :hidden " ></iframe >
12
17
</noscript >
13
18
<!-- End Google Tag Manager (noscript) -->
19
+
14
20
<div class =" welcome-page" >
15
21
<h1 >
16
22
<img src =" ~/duende-logo.svg" class =" logo" >
Original file line number Diff line number Diff line change 13
13
<link rel =" stylesheet" href =" ~/lib/bootstrap/dist/css/bootstrap.min.css" />
14
14
<link rel =" stylesheet" href =" ~/lib/bootstrap4-glyphicons/css/bootstrap-glyphicons.min.css" />
15
15
<link rel =" stylesheet" href =" ~/css/site.css" />
16
+
17
+ @if (IsSectionDefined (" robots" ))
18
+ {
19
+ @await RenderSectionAsync (" robots" )
20
+ }
21
+ else
22
+ {
23
+ <meta name =" robots" content =" noindex" />
24
+ }
16
25
</head >
17
26
<body >
18
27
<partial name =" _Nav" />
26
35
27
36
@RenderSection( "scripts", required: false)
28
37
</body >
29
- </html >
38
+ </html >
You can’t perform that action at this time.
0 commit comments