PageGroup.ActivePage
Version: - stringSummary
Returns True if the page is active.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("PageGroup.ActivePage")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("PageGroup.ActivePage"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("PageGroup.ActivePage");
}
Outputting the template tag
<!--@PageGroup.ActivePage-->
Check if string has a value
<!--@If Defined(@PageGroup.ActivePage)-->
Let's output this tag here: <strong><!--@PageGroup.ActivePage--></strong>
<!--@EndIf(@PageGroup.ActivePage)-->