{% extends 'sitewide/layout.html' %} {% load static %} {% block main %}

Sitewide is Working!

You are seeing this page by default. Now create your own pages. Follow the steps below to quickly populate your project.

  1. Start with a blank HTML template in your preferred path below.

    App-level templates:

    project/app/templates/app/your_template.html

    Project-level templates

    project/templates/your_template.html
  2. Copy the following HTML markup into the new template file: {% verbatim %}{% extends 'sitewide/layout.html' %}{% endverbatim %}
    {% verbatim %}{% load static %}{% endverbatim %}
    {% verbatim %}{% block main %}{% endverbatim %}
    {% verbatim %}<-- Add your HTML here --!>{% endverbatim %}
    {% verbatim %}{% endblock %}{% endverbatim %}
  3. Add custom markups for the page within the {% verbatim %} {% main %}{% endverbatim %} block (see above, replacing the comment with your HTML). Save the template.
  4. Create a Django View and point it to your new template. Open your favourite browser and check out that view.
  5. Wow! Amazing, isn't it?

Wait, there's more ...

What about the sidebar, the header and the footer? Yes, you can modify all those with one YAML file. Just one, and you won't have to do it again for other pages. You could easily create themes with this thing. Do you want to know how? See you at the 'Docs'.

What are you waiting for?

{% endblock %}