Skip to content

Commit d81d382

Browse files
committed
fix: Order apparently matters for the HeadOutlet otherwise exceptions
1 parent 97ce46f commit d81d382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LinkDotNet.Blog.Web/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<meta name="theme-color" content="#ffffff" />
2020
<meta name="color-scheme" content="light dark" />
2121
<meta name="robots" content="max-image-preview:large" />
22+
<HeadOutlet @rendermode="RenderMode.InteractiveServer"/>
2223
<link rel="dns-prefetch" href="//cdnjs.cloudflare.com" />
2324
<link rel="preconnect" href="//cdnjs.cloudflare.com" />
2425
<link rel="preload" href="css/fonts/icons.woff2" as="font" type="font/woff2" crossorigin />
@@ -29,7 +30,6 @@
2930
<link href="LinkDotNet.Blog.Web.styles.css" rel="stylesheet"/>
3031
<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" />
3132
<link href="_content/Blazorise/blazorise.css" rel="stylesheet" />
32-
<HeadOutlet @rendermode="RenderMode.InteractiveServer"/>
3333
</head>
3434
<body>
3535
<Routes />

0 commit comments

Comments
 (0)