FirstPageName

Version: - string  

Summary

Returns Name of first page in the website language.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("FirstPageName")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@FirstPageName-->

Check if string has a value

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