@page "/overview" @inject DocsService DocsService Overview @if (loading) {
Loading...
} else if (doc == null) {

Overview Not Found

The overview document could not be found.

} else {

@doc.Title

@if (!string.IsNullOrEmpty(doc.FrontmatterHtml)) {
Frontmatter @((MarkupString)doc.FrontmatterHtml)
}
@((MarkupString)doc.HtmlContent)
} @code { private NoteDocument? doc; private bool loading = true; protected override async Task OnInitializedAsync() { doc = await DocsService.GetNoteAsync("overview"); loading = false; } }