File tree Expand file tree Collapse file tree 3 files changed +3
-14
lines changed Expand file tree Collapse file tree 3 files changed +3
-14
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
-
13
8
<!-- Google Tag Manager (noscript) -->
14
9
<noscript >
15
10
<iframe src =" https://www.googletagmanager.com/ns.html?id=GTM-MMR39D3G"
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
- }
25
16
</head >
26
17
<body >
27
18
<partial name =" _Nav" />
Original file line number Diff line number Diff line change
1
+ User-agent: *
2
+ Allow: /$
3
+ Disallow: /
You can’t perform that action at this time.
0 commit comments