Website
Version: - stringSummary
Returns the website that the user has added to the comment.
Settings
The value is based on the Website field for the comment.
(Frontend comment form or Modules tab > News > Category > News > Content > Comments > Comment > Website)
Examples
Outputting the template tag
@GetString("Website")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Website"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Website");
}
Outputting the template tag
<!--@Website-->
Check if string has a value
<!--@If Defined(@Website)-->
Let's output this tag here: <strong><!--@Website--></strong>
<!--@EndIf(@Website)-->