seitime-frappe/frappe/templates/generators/web_page.html
2016-03-12 00:08:21 +05:30

35 lines
841 B
HTML

{% extends "templates/web.html" %}
{%- block header -%} {{ header or "" }} {%- endblock -%}
{% block hero %}{{ hero or "" }}{% endblock %}
{% block breadcrumbs %}
{% if not no_breadcrumbs %}
{% include "templates/includes/breadcrumbs.html" %}
{% endif %}
{% endblock %}
{% block page_content %}
<div class="webpage-content">
{% include "templates/includes/slideshow.html" %}
<article class="web-page-content" id="{{ name }}" {% if text_align -%}style="text-align: {{ text_align }}"{%- endif %}>
{{ main_section or "" }}
</article>
{% if enable_comments -%}
<hr>
<h3>Discuss</h3>
{% include 'templates/includes/comments/comments.html' %}
{%- endif %}
</div>
{% endblock %}
{% block style %}
<style>
{{ style or "" }}
</style>
{% endblock %}
{% block script %}
<script>{{ script or "" }}</script>
{% endblock %}