JumpstartLab/curriculum — pull request #278 by burtlo (2012-09-15 06:32:29+00:00)
Title: New Liquid Tags: section and page_url

The tutorial section was looking a bit tragic so I wrote a liquid tag
that will allow individuals to create a sectional layout. This tag
imports in the index file for a section, an image, and uses a title to
create an entry. An example of this can found in the
source/index.markdown.

This brought up the same issue with the links not working correctly, as
the sectional page is now importing files from another section and our
paths up this point have been relative. Borrowing from an upcoming
feature of Jekyll called the `post_url`, I created a `page_url` which
will match the name specified against pages already created. You do not
need to provide the extension or part of the path (though it will be
necessary when we have pages with the same name).