Foo
Here goes content
Developers Guide ================ Adding new modules ------------------ You can extend newsroom via creating python module with :meth:`init_app` method:: from flask import Blueprint blueprint = Blueprint('foo') @blueprint.route('/foo') def index(): pass def init_app(app): app.section('foo', 'Foo') app.sidenav('Foo', 'foo.index', section='foo') app.register_blueprint(blueprint) Such module should be added to ``settings.INSTALLED_APPS`` and then it will be loaded on start. Param ``app`` is :class:`newsroom.Newsroom` instance. Templating ---------- When defining new templates you should extend layout to get basic markup/css/js:: {% extends "layout.html" %} {% block title %}Foo{% endblock %} {% block breadcrumb %}
{% endblock %} {% block content %}Here goes content