waliki icon indicating copy to clipboard operation
waliki copied to clipboard

[documentation] extending templates

Open luzik opened this issue 8 years ago • 2 comments

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

luzik avatar Mar 06 '18 12:03 luzik

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

mgaitan avatar Mar 06 '18 12:03 mgaitan

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

luzik avatar Mar 06 '18 13:03 luzik