v2
This commit is contained in:
+9
-4
@@ -1,10 +1,15 @@
|
||||
@page
|
||||
@page
|
||||
@model IndexModel
|
||||
@{
|
||||
ViewData["Title"] = "Home page";
|
||||
ViewData["Title"] = "Maintenance Home";
|
||||
}
|
||||
|
||||
<div class="text-center">
|
||||
<h1 class="display-4">Welcome</h1>
|
||||
<p>Learn about <a href="https://learn.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
|
||||
<h1 class="display-4">Maintenance Pages</h1>
|
||||
<p>Use this site to render outage and maintenance messages.</p>
|
||||
|
||||
@if (Model.IsAdmin)
|
||||
{
|
||||
<p><a asp-page="/Admin/Templates/Index">Go to edit templates</a></p>
|
||||
}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user