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