sublee/flask-autoindex — pull request #8 by rptb1 (2013-05-26 22:13:31+00:00)
Title: Adding a template_context keyword to allow passing of fields to templates

The AutoIndex class and render_autoindex method now take an extra keyword argument `template_context` whose contents are passed to `render_template`. This allows custom templates to get extra fields so they can inherit from and work with other templates in the application.

For example, I want my autoindex.html template to import my base.html, which includes its own breadcrumbs, menus, etc. but needs my fields.

Thanks!