News:ManchetClean

Version: - string  

Summary

Returns the news item teaser text without <br>.

Settings

The value is based on the Teaser text field for the news item.

(Modules tab > News > Category > News > Settings > Teaser text)

Remarks

Only rendered when Show teaser text is enabled in paragraph module settings.

Examples

Outputting the template tag

@GetString("News:ManchetClean")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@News:ManchetClean-->

Check if string has a value

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