[backend/razor] Code cleanup

This commit is contained in:
Laura Hausmann 2024-11-19 23:35:05 +01:00
parent 24b412bd75
commit 48807ec4fa
No known key found for this signature in database
GPG key ID: D044E84C5BE01605
2 changed files with 4 additions and 4 deletions

View file

@ -15,11 +15,11 @@
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<title>@($"Error {Model.Error.StatusCode} - Iceshrimp.NET")</title> <title>@($"Error {Model.Error.StatusCode} - Iceshrimp.NET")</title>
@* ReSharper disable once Html.PathError *@ @* ReSharper disable 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"/>
@* ReSharper disable once Html.PathError *@
<link rel="icon" type="image/png" href="~/_content/Iceshrimp.Assets.Branding/favicon.png"/> <link rel="icon" type="image/png" href="~/_content/Iceshrimp.Assets.Branding/favicon.png"/>
@* ReSharper restore Html.PathError *@
<style> <style>
.float-right { .float-right {
float: right; float: right;

View file

@ -8,11 +8,11 @@
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<title>@(ViewData["title"] ?? "Iceshrimp.NET")</title> <title>@(ViewData["title"] ?? "Iceshrimp.NET")</title>
@* ReSharper disable once Html.PathError *@ @* ReSharper disable 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"/>
@* ReSharper disable once Html.PathError *@
<link rel="icon" type="image/png" href="~/_content/Iceshrimp.Assets.Branding/favicon.png"/> <link rel="icon" type="image/png" href="~/_content/Iceshrimp.Assets.Branding/favicon.png"/>
@* ReSharper restore Html.PathError *@
@await RenderSectionAsync("styles", false) @await RenderSectionAsync("styles", false)
@await RenderSectionAsync("head", false) @await RenderSectionAsync("head", false)
</head> </head>