FilepublishFileDatemodified
Version: - stringSummary
Returns the modification date of the current file.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("FilepublishFileDatemodified")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("FilepublishFileDatemodified"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("FilepublishFileDatemodified");
}
Outputting the template tag
<!--@FilepublishFileDatemodified-->
Check if string has a value
<!--@If Defined(@FilepublishFileDatemodified)-->
Let's output this tag here: <strong><!--@FilepublishFileDatemodified--></strong>
<!--@EndIf(@FilepublishFileDatemodified)-->