Skip to content

Commit 29c22c1

Browse files
committed
Cleanup
1 parent 9784393 commit 29c22c1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Elastic.Markdown/Slices/_ViewModels.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public class IndexViewModel
2020
public required string? UrlPathPrefix { get; init; }
2121
public required string? GithubEditUrl { get; init; }
2222
public required Deployment? Applies { get; init; }
23-
2423
public required bool AllowIndexing { get; init; }
2524
}
2625

@@ -35,8 +34,7 @@ public class LayoutViewModel
3534
public required string NavigationHtml { get; set; }
3635
public required string? UrlPathPrefix { get; set; }
3736
public required string? GithubEditUrl { get; set; }
38-
39-
public bool AllowIndexing { get; init; }
37+
public required bool AllowIndexing { get; init; }
4038

4139
private MarkdownFile[]? _parents;
4240
public MarkdownFile[] Parents

0 commit comments

Comments
 (0)