feat: use ViewData title in layout
This commit is contained in:
parent
cbb7d07844
commit
ca31a63bb7
@ -4,7 +4,14 @@
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<meta name="color-scheme" content="dark"/>
|
||||
@if (ViewData["Title"] != null)
|
||||
{
|
||||
<title>@ViewData["Title"] - Oliver Booth</title>
|
||||
}
|
||||
else
|
||||
{
|
||||
<title>Oliver Booth</title>
|
||||
}
|
||||
<link rel="shortcut icon" href="~/img/favicon.png">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.1/css/bootstrap.min.css" integrity="sha512-Z/def5z5u2aR89OuzYcxmDJ0Bnd5V1cKqBEbvLOiUNWdg9PQeXVvXLI90SE4QOHGlfLqUnDNVAYyZi8UwUTmWQ==" crossorigin="anonymous" referrerpolicy="no-referrer">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.8/katex.min.css" integrity="sha512-7nTa5CnxbzfQgjQrNmHXB7bxGTUVO/DcYX6rpgt06MkzM0rVXP3EYCv/Ojxg5H0dKbY7llbbYaqgfZjnGOAWGA==" crossorigin="anonymous" referrerpolicy="no-referrer">
|
||||
|
Loading…
Reference in New Issue
Block a user