(Quick Reference)

p:siteURL

Purpose

Renders an absolute URL pointing to the site. The default behaviour calls g:createLink with absolute="true" and a uri of "/" - therefore creating a link using the value of grails.serverURL.

You can have a site marketing URL different from your app's grails.serverURL value by specifying the following configuration value:

plugin.platformCore.site.url = 'http://marketing.oursite.com'

See siteLink for details of the site link tag that uses this and p:siteName.

Example

<p:siteURL/>

Attributes

None