{% extends "templates/web.html" %} {% from "erpnext/templates/includes/macros.html" import render_homepage_section %} {% block content %}
{% if homepage.hero_section_based_on == 'Default' %}

{{ homepage.tag_line }}

{{ homepage.tag_line }}

{{ homepage.description }}

{{ homepage.description }}

{% elif homepage.hero_section_based_on == 'Slideshow' and slideshow %}
{% include "templates/includes/slideshow.html" %}
{% elif homepage.hero_section_based_on == 'Homepage Section' %} {{ render_homepage_section(homepage.hero_section_doc) }} {% endif %} {% if homepage.products %}

{{ _('Products') }}

{% for item in homepage.products %}
{{ item.item_name }}
{{ _('More details') }}
{% endfor %}
{% endif %} {% if blogs %}

{{ _('Publications') }}

{% for blog in blogs %}
{{ blog.title }}

{{ _('By {0}').format(blog.blogger) }}

{{ blog.blog_intro }}

{% endfor %}
{% endif %} {% for section in homepage_sections %} {{ render_homepage_section(section) }} {% endfor %}
{% endblock %}