Anand Doshi | 72c945b | 2012-06-22 20:01:07 +0530 | [diff] [blame] | 1 | {% extends "page.html" %} |
| 2 | |
| 3 | {% block content %} |
| 4 | <div class="layout-wrapper layout-wrapper-background"> |
| 5 | <div class="web-content" style="text-align: {{ text_align }};"> |
| 6 | |
| 7 | {% if layout and layout.startswith('Two column') %} |
| 8 | <div class="layout-main-section"> |
| 9 | {% else %} |
| 10 | <div class="layout-main"> |
| 11 | {% endif %} |
| 12 | {{ main_section_html }} |
| 13 | </div> |
| 14 | |
| 15 | {% if layout and layout.startswith('Two column') %} |
| 16 | <div class="layout-side-section"> |
| 17 | {{ side_section_html }} |
| 18 | </div> |
| 19 | {% endif %} |
| 20 | <div style="clear: both"></div> |
| 21 | </div> |
| 22 | </div> |
| 23 | {% endblock %} |