{% extends "home/base.html" %} {% load i18n %} {% load molly_utils %} {% load molly_search %} {% comment %} index.html The root home page block list - indentation defines hierarchy ========================================== - site_title (the title for the front page of the site) - title - header - content - date - weather_location - below_weather - below_about {% endcomment %} {% block site_title %}{% endblock site_title %} {% block title %}{{ site_name }}{% endblock title %} {% block header %} {# Displayed on the home page - contains brand mark and universal search form #}
{# Brandmark for site #}
{# Display a logo (should be on white background) for featurephones: should be .jpg for compatibility #} {% ifequal style_group "dumb" %} {{ site_name }} {% else %} {# Standard logo for non-featurephones #} {{ site_name }} {% endifequal %}
{# universal search form #}
{% endblock header %} {% block content %} {# Display messages to the user such as warnings for Opera Mini #} {% for message in messages %}
{% if message.url %}{% endif %}{{ message.body|sanitize_html }}{% if message.url %}{% endif %}
{% endfor %} {# The main icon bubble for non-featurephones, access keys are defined in the view #}
    {% for application in applications %}{% if application.display_to_user %} {% endif %}{% endfor %}
{# The a div to display various 'quick' bits of information #} {% block weather %}{% if weather %}
{% block below_weather %}{% endblock below_weather %}
{% block date %} {% now "l, jS F, Y" %} {% endblock date %} {% block weather_location %}{{ weather.name }}{% endblock weather_location %}: {{ weather.temperature }}°C{{ weather.get_outlook_display|capfirst }}
{% endif %}{% endblock weather %} {# Display a list of favourite pages if a user has made any #} {% if favourites %}

{% trans "Favourites" %}

{% endif %} {% block below_about %} {% endblock below_about %} {% if LANGUAGES|length > 1 %} {% include "i18n/language_selector.html" %} {% endif %} {% endblock content %}