News:Back.Text

Version: - string  

Summary

Returns the text for the back button.

Settings

The value is based on the Back button settings in the paragraph module settings.

(Page > Paragraph > Module tab > (Advanced) > Display panel).

Examples

Outputting the template tag

@GetString("News:Back.Text")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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