[backend/razor] Add error code to ErrorPage title

This commit is contained in:
Laura Hausmann 2024-11-16 22:48:11 +01:00
parent 4af69a6afa
commit 70c692e1cb
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -14,7 +14,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<title>@("Error - Iceshrimp.NET")</title> <title>@($"Error {Model.Error.StatusCode} - Iceshrimp.NET")</title>
@* ReSharper disable once Html.PathError *@ @* ReSharper disable once Html.PathError *@
<link rel="stylesheet" href="~/Iceshrimp.Backend.styles.css"/> <link rel="stylesheet" href="~/Iceshrimp.Backend.styles.css"/>
<link rel="stylesheet" href="~/css/default.css"/> <link rel="stylesheet" href="~/css/default.css"/>