Service promo template

master
fefa4ka 10 years ago
parent 8f17ab85de
commit 9fff2e54eb
  1. 1
      app/settings.py
  2. 17
      zsite/templates/service_promo.html

@ -345,6 +345,7 @@ CMS_TEMPLATES = (
## Customize this
('page.html', 'Page'),
('sub_section.html', 'Service main page'),
('service_promo.html', 'Service promo page'),
('theory.html', 'Theory page'),
('about.html', 'About company section'),
)

@ -0,0 +1,17 @@
{% extends "base.html" %}
{% load cms_tags menu_tags %}
{% block title %}{% page_attribute "page_title" %}{% endblock title %}
{% block content %}
{% block breadcrumb %}
<ol class="list-unstyled list-inline breadcrumb" vocab="http://schema.org/" typeof="BreadcrumbList">
{% show_breadcrumb 0 "menu/breadcrumb.html" 0 %}
</ol>
{% endblock breadcrumb %}
{% placeholder "content" %}
{% if request.current_page != request.current_page.get_root %}
{% static_placeholder 'footer-page-content-'|add:request.current_page.get_root.reverse_id %}
{% endif %}
{% endblock content %}
Loading…
Cancel
Save