Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins should be able to add templates to the theme #1139

Closed
ralsina opened this issue Mar 16, 2014 · 0 comments · Fixed by #1140
Closed

Plugins should be able to add templates to the theme #1139

ralsina opened this issue Mar 16, 2014 · 0 comments · Fixed by #1140
Assignees
Milestone

Comments

@ralsina
Copy link
Member

ralsina commented Mar 16, 2014

These templates should be lower priority than the themes, so themes can actually override them.

My use case is the series plugin: I need a series.tmpl that creates the page for each series, and a series_index.tmpl that has the list of all series.

So, the plugin would provide fallback templates in a templates folder, for Mako and Jinja2, and then the user and the theme maker can override them.

I'll try to make it very painless by just using whatever is in that folder without configuration or extra code in the plugin.

@ralsina ralsina added this to the v7.0.0 milestone Mar 16, 2014
@ralsina ralsina self-assigned this Mar 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants