This repository has been archived by the owner on Feb 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
smallspark edited this page Sep 14, 2010
·
8 revisions
This simple extension for Radiant CMS provides a tag for the output of the title of the site. The site title should be set in a configuration setting with a key of ‘site.title’.
Also allows for the option to output the site title along with the page title, as would be displayed in the
tag of a <span class="caps">HTML</span> page. <h2>Examples</h2> <pre><r:site:title /></pre> <p><em>outputs</em></p> <p>Your Site Title</p> <pre><r:site:title with_page_title="true" /></pre> <p><em>outputs</em></p> <p>Your Page Title » Your Site Title</p> <pre><r:site:title with_page_title="true" separator=" | " /></pre> <p><em>outputs</em></p> <p>Your Page Title | Your Site Title</p> <p>Created by <a href="http://www.smallspark.com.au">Small Spark</a> and released as free software under a <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 License</a>.</p>