Home > Theme Design > Variable (tag) reference > Site attributes
login

© Metadot Corporation

Site object represent your site. This object is accessible both for text assets and layouts.
Site attributes:

name  

returns the name of the site

Example usage:
<title>{{site.name}} - {{page.title}}</title>

Html output:
<title>Wiki  - Home</title>

organization_name  

returns the organization name

Example usage:
<title>{{site.organization_name}} - {{page.title}}</title>

Html output:
<title>Your Company - Home</title>

tagline  

returns the tagline of the site

Example usage:

<title>{{site.name}} - {{site.tagline}}</title>

Html output:

<title>Wiki - Metadot wiki software</title>

address  

returns the address of the site

Example usage:

{{site.address}}

Html output:

wiki

domain  

returns the domain of the site (if it has own domain)

Example usage:

{{site.domain}}

Html output:

mywikiwebsite.com

logo  

returns img tag with the logo of the site

Example usage:

{{site.logo}}

Html output:

<img src='/__metadot__/login/logo/29' alt='site logo' height=100 width=100 hspace=0 vspace=0>

base_url  

returns url with the domain name of the site

Example usage:

{{site.base_url}}

Html output:

http://mysite.metadot.net