{% comment %} Salonify Theme - homepage.html {% endcomment %} {% load base_filters %} {% load base_tags %} {% load cache %} {% load story_tags %} {% load theme_tags %} {% load i18n %} {% theme_extends 'base.html' %} {% block extra_head %} {{ block.super }} {% endblock extra_head %} {% block body_ids %}home{% endblock body_ids %} {% block body_classes %}home{% endblock body_classes %} {% block html_body %}
{% theme_include "header.html" %}
{% theme_include "base/messages.html" %}
{% list_stories as featured_stories limit=4 tags="rotator" %} {% if featured_stories %} {% for story in featured_stories %}
{% if story.image %}{% endif %}

{{ story.title }}

{{ story.content|striptags|truncatewords:"16"|safe }} Read more

{% if admin %} {% endif %}
{% endfor %} {% else %} {% for item in 4|make_range %}
Tendenci sample image

Sample Story {{ forloop.counter }}

Great new content. {% if request.user.is_authenticated %}Add your first story to take the place of this photo. Be sure to tag it rotator so that it shows up in this area.{% endif %}

{% endfor %} {% endif %}
{% space_include MODULE_THEME_SPACE_2 %}
{% space_include MODULE_THEME_SPACE_3 %}
{% space_include MODULE_THEME_SPACE_4 %}
{% space_include MODULE_THEME_SPACE_5 %}
{% theme_include "sidebar.html" %}
{% endblock %} {% block extra_body %} {{ block.super }} {% endblock extra_body %}