getpelican/pelican — pull request #680 by wrl (2013-01-11 00:25:37+00:00)
Title: add a Jinja context variable for the name of the file being rendered

this is roughly equivalent to, in a standard webapp blogging engine, knowing the URL being requested.

rationale: themes with navigation elements that change (i.e. class="selected") depending on whether or not a page is active. i personally need it for a theme i am porting.