FilepublishFolderList

Version: - string  

Summary

Returns the path to the current subfolder.

Settings

The value is generated automatically.

Remarks

The value with the path is rendered when the subfolder is opened.

Examples

Outputting the template tag

@GetString("FilepublishFolderList")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("FilepublishFolderList"); }

Outputting the template tag

<!--@FilepublishFolderList-->

Check if string has a value

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