getpelican/pelican — pull request #1126 by agateau (2013-10-17 08:43:00+00:00)
Title: Fix {category} and {tag} placeholders when called from subdirs

{category} placeholder was failing for me when called from a page in a subdir. This change fixes it by applying the to {category} and {tag} the same operations applied to {filename}.