News:Back.Href

Version: - string  

Summary

Returns the URL for the back button.

Settings

The value is generated automatically.

Remarks

The value should be assigned to the <a> href attribute.

Examples

Outputting the template tag

@GetString("News:Back.Href")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("News:Back.Href"); }

Outputting the template tag

<!--@News:Back.Href-->

Check if string has a value

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