Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Page archiving for Radiant CMS bundled with the main project
Ruby
tree: 66b93b8afa
Failed to load latest commit information.
app/models properly reference the result variable to exclude the correct list of…
config
features update rakefile and add cucumber support
lib version bump
spec enable travis
.gitignore
.travis.yml run CI against 1.0.0
README.md convert readme to markdown and add travis badge [ci skip]
Rakefile update rakefile and add cucumber support
archive_extension.rb remove page class from the allowed children of the parent, and restor…
cucumber.yml updated with standard extension files
radiant-archive-extension.gemspec ensure that gemspec ignored files are properly ignored

README.md

Archive

Build Status

The Archive extension extracts the Archive pages from their original place in the Radiant distribution.

Archive page

An archive page provides behavior similar to a blog archive or a news archive. Child page URLs are altered to be in %Y/%m/%d format (2004/05/06).

An archive page can be used in conjunction with the "Archive Year Index", "Archive Month Index", and "Archive Day Index" page types to create year, month, and day indexes.

Archive Index pages

To create a year/month/day index for an archive, create a child page for the archive and assign the "Archive [Year/Month/Day] Index" page type to it.

An index page makes following tags available to you:

<r:archive:children>...</r:archive:children>

Grants access to a subset of the children of the archive page that match the specific year/month/day which the index page is rendering.

The title and breadcrumb attributes of an index page are rendered using Ruby's Time#strftime method. Please refer to documentation for Time#strftime to format these attributes.

Something went wrong with that request. Please try again.