Link to home
Contents
Syntax
<txp:link_to_home>
The link_to_home tag is primarily a container tag that returns a link to the site’s home page. It will apply a hyperlink to whatever it wraps.
The tag can, however, be used as a single tag to generate a raw base URL of the site:
<txp:link_to_home />
In this mode it operates identically to site_url.
Attributes
This tag has no attributes of its own. It accepts only the global attributes .
Examples
Example 1: Home page link with site’s name
<txp:link_to_home>
<txp:site_name />
</txp:link_to_home>
Other tags used: site_name.