Commits

Nathaniel Tucker committed 6855570

Add super simple template for CMS

  • Participants
  • Parent commits 5fa57ce

Comments (0)

Files changed (2)

File ahgl/settings.py

     ('tourney_index_simple.html', 'Tournament Index Simple'),
     ('simple_custom_nav.html', 'Simple with Custom Nav Plugin'),
     ('simple.html', 'Simple'),
+    ('super_simple.html', 'Super Simple'),
     ('narrow.html', 'Narrow'),
 )
 CMS_VIEW_PERMISSION = False

File ahgl/templates/super_simple.html

+{% extends "site_base.html" %}
+{% load cms_tags %}
+{% load menu_tags %}
+{% load cache %}
+
+{% block head_title %}{{ request.current_page.get_title }}{% endblock %}
+
+{% block content-class %}static-page{% endblock %}
+
+{% block tournament_nav %}
+{% endblock %}
+
+
+{% block body %}
+{% cache 300 cms_body request.path %}
+{% placeholder content %}
+{% endcache %}
+{% endblock %}
+
+{% block footer_base %}
+{% endblock %}