getpelican/pelican-plugins — pull request #26 by fbs (2013-05-19 12:00:08+00:00)
Title: extract_toc: skip static content

Static content (e.g. FILES_TO_COPY) doesn't have any content for extract_toc to handle. Instead of trying to parse the content anyway (which results in a critical error), extract_toc should just ignore the content.