diff --git a/cms/templates/cms/detail.html b/cms/templates/cms/detail.html new file mode 100644 index 0000000..676d6e9 --- /dev/null +++ b/cms/templates/cms/detail.html @@ -0,0 +1,19 @@ +{# {% extends "website/base.html" %} #} + +{% block title %} +{{ object.title }} +{% endblock %} + +{% block pre_title %} + +{% endblock %} + +{% block content %} +{% for section in sections %} +{{ section|safe }} +{% endfor %} +{% endblock %} + diff --git a/cms/templates/cms/embed.html b/cms/templates/cms/embed.html new file mode 100644 index 0000000..540af84 --- /dev/null +++ b/cms/templates/cms/embed.html @@ -0,0 +1,4 @@ +{# Used for embedded content #} +{% block content %} +{% endblock %} + diff --git a/cms/templates/cms/menu.html b/cms/templates/cms/menu.html new file mode 100644 index 0000000..adb7946 --- /dev/null +++ b/cms/templates/cms/menu.html @@ -0,0 +1,11 @@ + + + diff --git a/cms/templates/cms/raw.html b/cms/templates/cms/raw.html new file mode 100644 index 0000000..238b31d --- /dev/null +++ b/cms/templates/cms/raw.html @@ -0,0 +1 @@ +{# #} diff --git a/cms/templates/cms/section.html b/cms/templates/cms/section.html new file mode 100644 index 0000000..38e477b --- /dev/null +++ b/cms/templates/cms/section.html @@ -0,0 +1,33 @@ +
+ {% if title %} +

+ {% block section_title %} + {{ title }} + {% endblock %} +

+ {% endif %} + + {% if header %} +
+ {% block section_header %} + {{ header }} + {% endblock %} +
+ {% endif %} + +
+ {% block section_content %} + {{ content|safe }} + {% endblock %} +
+ + {% if bottom %} +
+ {% block section_bottom %} + {{ bottom }} + {% endblock %} +
+ {% endif %} +
+ + diff --git a/cms/templates/cms/section_list.html b/cms/templates/cms/section_list.html new file mode 100644 index 0000000..ad410e2 --- /dev/null +++ b/cms/templates/cms/section_list.html @@ -0,0 +1,22 @@ +{% extends "cms/section.html" %} + +{% load thumbnail %} + +{% block section_content %} + +{% endblock %} +