alphagov/slimmer — pull request #13 by alext (2012-09-14 10:51:24+00:00)
Title: Use artefact to insert sections

Slimmer now uses the artefact to populate the 'breadcrumb' trail. It inserts the full section heirarchy, and the arterfact title.

Added a helper method to construct a dummy artefact for pages that don't have a corresponding artefact.

This also includes some refactoring to use an Artefact class within the code, simplifying the processors somewhat.