News:BackText

Version: - string  

Summary

Returns the <a href> for the back button with text.

Settings

The value is generated automatically based on the Back button settings for the paragraph module.

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

Examples

Outputting the template tag

@GetString("News:BackText")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("News:BackText"); }

Outputting the template tag

<!--@News:BackText-->

Check if string has a value

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