Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% extends 'base.html' %}
- {% block content %}
- <h1>Rango says .... hello world! </h1>
- {% if categories %}
- <ul>
- {% for category in categories %}
- <li><a href='/rango/category/{{category.slug}}'>{{ category.name}}</a></li>
- {% if mostViewed %}
- <ul>
- {% for page in mostViewed.category%}
- <li>{{page}}</li>
- {% endfor %}
- </ul>
- {% else %}
- <strong>No Pages added yet!</strong>
- {% endif %}
- {% endfor %}
- </ul>
- {% else %}
- <strong>There are no categories present.</strong>
- {% endif %}
- <a href="/rango/about">About</a><br>
- {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement