This commit is contained in:
2026-06-10 21:35:28 -04:00
parent 3e80ce78a0
commit 6bf1b87207
7 changed files with 183 additions and 88 deletions
+7 -1
View File
@@ -15,7 +15,13 @@ else if (doc == null)
}
else
{
<h1>@doc.Title</h1>
<h1>
@doc.Title
@if (!string.IsNullOrEmpty(doc.Category))
{
<span class="category-badge">@doc.Category</span>
}
</h1>
@if (!string.IsNullOrEmpty(doc.FrontmatterHtml))
{
+7 -1
View File
@@ -15,7 +15,13 @@ else
@foreach (var note in notes.OrderBy(n => n.Title))
{
<a href="/docs/@note.Slug" class="docs-card">
<h3>@note.Title</h3>
<h3>
@note.Title
@if (!string.IsNullOrEmpty(note.Category))
{
<span class="category-badge">@note.Category</span>
}
</h3>
</a>
}
</div>