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 (
Michael Kessler (author)
Wed Jul 15 12:18:00 -0700 2009
| name | age | message | |
|---|---|---|---|
| |
LICENSE | ||
| |
README.markdown | ||
| |
Rakefile | ||
| |
app/ | ||
| |
index_page_extension.rb | ||
| |
lib/ | ||
| |
test/ |
README.markdown
Radiant Index Page Extension
| Author | Benny Degezelle - Gorilla Webdesign |
| Version | 0.1.0 |
| Contact: | benny AT gorilla-webdesign DOT be |
About
This is for indexes that have no content for themselve.
For example, a site may be structured like so to keep things organised and clean:
/about
/about/history
/about/team
/about/objective
Now it is very possible that there is no content for the 'index' page on /about.
With this extension you just make the page on /about an IndexPage, which will...
- redirect your visitors to it's first published child (default setting)
- renders the content of the first published child under the parent url
Settings
Per default an index page redirects to it's first published child.
The above example with the default setting:
/about -> Redirect to /about/history and thus show history page
/about/history -> Show history page
/about/team -> Show team page
/about/objective -> Show objective page
You can change this behaviour by setting the 'index.page' configuration to 'include'.
Radiant::Config["index.page"] = 'include'
This renders the first published child under
- its own url
- under the url of its parent
The above example with the default setting:
/about -> Show history page
/about/history -> Show history page
/about/team -> Show team page
/about/objective -> Show objective page
Contributors
Sponsors
Some work has been kindly sponsored by:
License
This extension is released under the MIT license, see the LICENSE for more information.








