Comments.TotalCount

Version: - string  

Summary

Returns total count of the comments. 

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Comments.TotalCount")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Comments.TotalCount"); }

Outputting the template tag

<!--@Comments.TotalCount-->

Check if string has a value

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