diff --git a/Wave/Components/ArticleCardList.razor b/Wave/Components/ArticleCardList.razor index 60beffb..c443424 100644 --- a/Wave/Components/ArticleCardList.razor +++ b/Wave/Components/ArticleCardList.razor @@ -1,7 +1,15 @@ @using Wave.Data @if (Articles.Count < 1) { -

No Articles

+
+
+
+

No Articles

+
+
+
+
+
} else {
@foreach (var article in Articles.OrderByDescending(a => a.PublishDate)) { diff --git a/Wave/Components/ArticleComponent.razor b/Wave/Components/ArticleComponent.razor index 9dd338f..663f2c4 100644 --- a/Wave/Components/ArticleComponent.razor +++ b/Wave/Components/ArticleComponent.razor @@ -47,37 +47,52 @@ -@if (Article.Headings.Count > 0) { -
-

@Localizer["TableOfContents"]

- ")) + } + + while (headingLevel > level) { + level++; + @(new MarkupString("
  • +
    }
    diff --git a/Wave/Components/Pages/ArticleEditor.razor b/Wave/Components/Pages/ArticleEditor.razor index 37ef23f..3988b79 100644 --- a/Wave/Components/Pages/ArticleEditor.razor +++ b/Wave/Components/Pages/ArticleEditor.razor @@ -1,7 +1,6 @@ @page "/article/new" @page "/article/{id:guid}/edit" -@using System.ComponentModel.DataAnnotations @using Vite.AspNetCore @using Wave.Data @using Wave.Utilities @@ -22,8 +21,10 @@

    @Localizer["EditorTitle"]

    -

    Loading Interactive Editor

    - +
    + +

    Loading Interactive Editor

    +