Take the page heading from the Markdown body, not a separate <h1>

This commit is contained in:
tleininger committed 2026-09-24 14:26:35 +02:00
1 parent e242eaf79a
commit 01d25eb04b
3 files changed
+6 -18

No files matched your search

@@ -8,10 +8,7 @@
else if (_page is not null)
{
<PageTitle>@_page.Title</PageTitle>
<article>
<h1>@_page.Title</h1>
@Body
</article>
<article>@Body</article>
<PageEmbeds Embed="_page.Embed" />
}
@* No page and not unavailable: the slug was unknown; NavigationManager.NotFound()