{% extends "layouts/base.html" %} {% block extrastyles %} {% if settings.home_page_css %} {{ settings.home_page_css }} {% endif %} {% endblock extrastyles %} {% block announcement_bar %}{% if settings.ab_placement == 'home'%}{% include "partials/announcement_bar.html" %}{% elif settings.ab_placement == 'all'%}{% include "partials/announcement_bar.html" %}{% endif %}{% endblock announcement_bar %} {% block content_wrapper %} {% if settings.account_only %} {% include "partials/account_only.html" %} {% else %}
{% if settings.hero_img and settings.hero_img_mobile %}
{{ store.name }} {{ store.name }}
{% elif settings.hero_img and not settings.hero_img_mobile %}
{{ store.name }}
{% endif %}
{% if settings.hero_text %}

{{ settings.hero_text }}

{% endif %} {% if settings.hero_subtext %}

{{ settings.hero_subtext }}

{% endif %} {% if settings.hero_cta %} {% endif %}
{% if settings.featured_categories|length > 0 %}
{% if settings.fc_header %}

{{ settings.fc_header }}

{% endif %}
{% for category in settings.featured_categories %} {% endfor %}
{% endif %} {% if settings.featured_product_show %}
{% with image=settings.featured_product.get_all_images %} {% image_thumbnail image.0.original "850x850" crop="center" upscale=True as thumb %} {{ settings.featured_product.get_title }} {% endwith %} {% if settings.featured_product.metadata.file_up %}
{% endif %}

{{ settings.featured_product.title }}

{% purchase_info_for_product request settings.featured_product as session %} {% if session.price.exists %} {{ session.price.price|currency:session.price.currency }} {% if session.price.price_retail > session.price.price %} {{ session.price.price_retail|currency:session.price.currency }} {% endif %} {% else %}   {% endif %}

{{ settings.fp_desc }}

{% endif %} {% if settings.featured_products|length > 0 %} {% endif %} {% endif %} {% endblock %}