This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README.textile | Sat Dec 20 09:16:47 -0800 2008 | |
| |
Rakefile | Sat Dec 20 09:16:47 -0800 2008 | |
| |
init.rb | Sat Dec 20 09:16:47 -0800 2008 | |
| |
lib/ | Sat Dec 20 09:16:47 -0800 2008 | |
| |
spec/ | Sat Dec 20 09:16:47 -0800 2008 | |
| |
tasks/ | Sat Dec 20 09:16:47 -0800 2008 |
README.textile
PageTitle
Simple Rails helper for displaying the page title.
Example
Set the page_title variable in your action.
<code>page_title = “Dashboard”
Then in your layout, you can do something like so:
<html>
<head>
<title><%= page_title(:prefix => 'London Made') %></title>
<%= page_title %>
It will return the following result:
<html>
<head>
<title>London Made » Dashboard</title>
Dashboard
page_title options are :prefix, :suffix, :seperator
Copyright © 2008 Zach Inglis, released under the MIT license







