Take the page heading from the Markdown body, not a separate <h1>
This commit is contained in:
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()
|
||||
|
||||
Reference in new issue
Block a user