...
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user