Extension to Radiant CMS that allows you to include a site title in your templates.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
features/support
lib
spec
LICENSE
README.md
Rakefile
cucumber.yml
site_title_extension.rb

README.md

Site Title

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 <title> tag of a HTML page.

Examples

<r:site:title />

outputs

Your Site Title

<r:site:title with_page_title="true" />

outputs

Your Page Title » Your Site Title

<r:site:title with_page_title="true" separator=" | " />

outputs

Your Page Title | Your Site Title