{% extends "pages/page.html" %} {% load i18n %} {% load pages_tags mezzanine_tags i18n future staticfiles %} {% block title %}{{ page.title }}{% endblock %} {% block l_w %}{% endblock %} {% block middle_class %}
{% endblock middle_class %} {% block main %}
{% if page.homepage.logo %}
{{ settings.SITE_TITLE }}
{{ settings.SITE_TAGLINE }}
{% endif %}
{% if page.homepage.slides.all %}
{% endif %} {% if page.homepage.quote %}

{{ page.homepage.quote }}

{% if page.homepage.quote_author %} by {% if page.homepage.quote_link %} {{ page.homepage.quote_author }} {% else %} {{ page.homepage.quote_author }} {% endif %} {% else %} by Anonymous {% endif %}
{% endif %} {% if temp_portfolio %}
{% for tp_object in temp_portfolio %}

{{ tp_object.title|title }}

{% endfor %}
{% block r_w %}{{ block.super }}{% endblock %}
{% endif %}
{{ page.homepage.content|richtext_filters|safe }}

{% if page.homepage.porter %} {% for porter in page.homepage.porter.all|slice:":4" %}

{{ porter.multiport.title }} View All


{% for port_item in porter.multiport.children.all|slice:":3" %}
{{ port_item.title }}

{{ port_item.title }} {{ port_item.publish_date }}

{{ port_item.portfolioitem.short_description|richtext_filters|safe|truncatewords:40 }}

{% endfor %}

{% endfor %} {% endif %}
{% if products %}

Recent Products

{% for product in products|slice:":4" %} {% if product.available %}
{{ product.title }}

{{ product.title }}

{% editable product.description %}{{ product.description|richtext_filters|safe|truncatewords:10 }}{% endeditable %}

{% if product.on_sale %}

R{{ product.unit_price }}

{% trans "On sale:" %} R{{ product.sale_price }}

{% else %}

R{{ product.unit_price }}

{% endif %}

View

{% endif %} {% endfor %}
{% endif %} {% endblock %} {% block r-w %}{% endblock r-w %}