b:env.domain

<b:env.domain />

Outputs the domain of the site
If you need to output the domain of the site, you can do so with this tag. The domain is output without the leading slash, like http://www.thebildy.com.

Examples

Using b:env.domain

In this example all the rows output the same information (as long as the site is not moved to another domain).

<!-- domain can be output separately from the page information -->
<b:env.domain /><b:page.metadata.url />

<!-- domain can be included in <b:env.root /> with the show attribute -->
<b:env.root show="domain" /><b:page.metadata.path />

<!-- you can always just type the domain if you know it will never change -->
http://www.thebildy.com<b:page.metadata.url />

<!-- this is the longest form, made from smallest pieces. <b:env.root /> is empty and unnecessary if the Bildy site is running on the domain root -->
<b:env.domain /><b:env.root /><b:page.metadata.path />