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

[documentation] extending templates #152

Open
luzik opened this issue Mar 6, 2018 · 2 comments
Open

[documentation] extending templates #152

luzik opened this issue Mar 6, 2018 · 2 comments

Comments

@luzik
Copy link

luzik commented Mar 6, 2018

Consider adding information how to extend waliki templates in custom projects:

In project templates directory create waliki/ and place base.html in it (ex. path: some_app/templates/waliki/base.html

base.html can contain

{% extends "site_base.html" %}
{% block navbar %}{% include "_layouts/menu.html" with site="wiki" %}{% endblock %}

It can be useful for newbies

@mgaitan
Copy link
Owner

mgaitan commented Mar 6, 2018

could you send a PR? I'll be eager to merget it.

@luzik
Copy link
Author

luzik commented Mar 6, 2018

sorry - I'm to busy/lazy for this :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants