Skip to content

Commit 056209b

Browse files
committed
Introduced NoIndex property to EditingTopicViewModel
This will allow us to track whether or not the current topic has been hidden from search engines.
1 parent bdfcb7e commit 056209b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

OnTopic.Editor.AspNetCore/Models/EditingTopicViewModel.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ public EditingTopicViewModel() : base() {}
4545
/// </summary>
4646
public TopicViewModel? BaseTopic { get; init; }
4747

48+
/*==========================================================================================================================
49+
| PROPERTY: NO INDEX?
50+
\-------------------------------------------------------------------------------------------------------------------------*/
51+
/// <summary>
52+
/// Determines if the current topic should be indexed by search engines or not.
53+
/// </summary>
54+
public bool NoIndex { get; init; }
55+
4856
/*==========================================================================================================================
4957
| PROPERTY: IS HIDDEN?
5058
\-------------------------------------------------------------------------------------------------------------------------*/

0 commit comments

Comments
 (0)