Skip to content

Commit 97ce46f

Browse files
committed
fix: Make HeadOutlet interactive for title update
1 parent 03de1b5 commit 97ce46f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LinkDotNet.Blog.Web/App.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@using Microsoft.AspNetCore.Hosting
22
@using Microsoft.Extensions.Hosting
33
@using Microsoft.Extensions.Options
4+
@using Microsoft.AspNetCore.Components.Web
45

56
<!DOCTYPE html>
67
<html lang="en" data-bs-theme="dark">
@@ -27,9 +28,8 @@
2728
<link rel="preload" href="LinkDotNet.Blog.Web.styles.css" as="style">
2829
<link href="LinkDotNet.Blog.Web.styles.css" rel="stylesheet"/>
2930
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.7/css/bootstrap.min.css" integrity="sha512-fw7f+TcMjTb7bpbLJZlP8g2Y4XcCyFZW8uy8HsRZsH/SwbMw0plKHFHr99DN3l04VsYNwvzicUX/6qurvIxbxw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
30-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/github-dark-dimmed.min.css" integrity="sha512-zcatBMvxa7rT7dDklfjauWsfiSFParF+hRfCdf4Zr40/MmA1gkFcBRbop0zMpvYF3FmznYFgcL8wlcuO/GwHoA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
3131
<link href="_content/Blazorise/blazorise.css" rel="stylesheet" />
32-
<HeadOutlet />
32+
<HeadOutlet @rendermode="RenderMode.InteractiveServer"/>
3333
</head>
3434
<body>
3535
<Routes />

0 commit comments

Comments
 (0)