- @if (article.PreviousPart is { } previousPartId &&
- TutorialService.TryGetArticle(previousPartId, out ITutorialArticle? previousPart) &&
- previousPart.Visibility == Visibility.Published)
- {
-
Previous Part
-
-
- @previousPart.Title
-
-
- }
+
+
+ @if (article.PreviousPart is { } previousPartId &&
+ TutorialService.TryGetArticle(previousPartId, out ITutorialArticle? previousPart) &&
+ previousPart.Visibility == Visibility.Published)
+ {
+
Previous Part
+
+
+ @previousPart.Title
+
+
+ }
+
+
+ @if (article.NextPart is { } nextPartId &&
+ TutorialService.TryGetArticle(nextPartId, out ITutorialArticle? nextPart) &&
+ nextPart.Visibility == Visibility.Published)
+ {
+
Next Part
+
+
+ @nextPart.Title
+
+
+ }
+
-
- @if (article.NextPart is { } nextPartId &&
- TutorialService.TryGetArticle(nextPartId, out ITutorialArticle? nextPart) &&
- nextPart.Visibility == Visibility.Published)
- {
-
Next Part
-
-
- @nextPart.Title
-
-
- }
-
-