Display Properties of the Current Site documentation for the dotCMS Content Management System

The properties of the current Site can be accessed in Velocity through the $host object. The following Velocity statements show how to access some common properties of the current Site:

<ul>
    <li><b>Site Identifier:</b> $host.identifier</li>
    <li><b>Site Name:</b> $host.hostName</li>
    <li><b>Site Aliases:</b> $host.map.aliases</li>
    <li><b>Title:</b> $host.map.title</li>
    <li><b>Is this Site the default? (boolean):</b> $host.map.isDefault</li>
    <li><b>Site Description:</b> $host.map.description</li>
    <li><b>Site Page Width:</b> $host.map.pageWidth</li>
</ul>

For a complete list of the properties available via the $host obect, simply print $host to the page.