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