Title

Version: - string  

Summary

Returns the name of the page.

Settings

The value comes from the Page name field for the page.

Examples

Outputting the template tag

@GetString("Title")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Title"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Title"); }

Outputting the template tag

<!--@Title-->

Check if string has a value

<!--@If Defined(@Title)--> Let's output this tag here: <strong><!--@Title--></strong> <!--@EndIf(@Title)-->