Tokens are small bits of code that let you integrate LightCMS's dynamic content management functionality with your website designs.  This section provides detailed information about our tokens and how to utilize them.

Logo

Token
<$logo/$> 
Purpose This token displays the website logo. The user may upload a logo to the website on the My Website --> Settings page, on the advanced tab. Once uploaded, the logo will display anywhere the logo token is used.
Attributes
  • href=  specifies a URL for the logo to link to, when clicked (using "/" as the value will link to the website's home page).
  • alt= specifies the alt text to append to the logo image
  • maxwidth=  constrains the width of the logo to a specific pixel width
  • maxheight= constrains the height of the logo to a specific pixel height
Example Usage
Use this token to display the logo on your template:

<$logo href="/" maxwidth="200" maxheight="200" alt="Our company logo" /$>
Alternate Usage
You can also specify alternate content for the system to display if no website logo exists:

<$logo href="/" maxwidth="200" maxheight="200" alt="Our company logo"$>
<h1><$websitename/$></h1>
<$/logo$>