From 7131d99df20e1c2546452124ee52a95fa3ace97b Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 30 Dec 2014 03:42:27 +0100 Subject: 'better' theme --- _better_theme/layout.html | 95 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 _better_theme/layout.html (limited to '_better_theme/layout.html') diff --git a/_better_theme/layout.html b/_better_theme/layout.html new file mode 100644 index 0000000..31c6675 --- /dev/null +++ b/_better_theme/layout.html @@ -0,0 +1,95 @@ +{%- extends "basic/layout.html" %} +{%- from "relbar.html" import relbar_top with context %} +{%- from "relbar.html" import relbar_bottom with context %} + +{#- ### head ### -#} + +{%- block extrahead %} + + {#- make mobile reasonable #} + + + {%- for css_file in theme_cssfiles %} + {%- if css_file.startswith('http') %} + + {%- else %} + + {%- endif %} + {%- endfor %} + + {%- for js_file in theme_scriptfiles %} + + {%- endfor %} + + {%- if theme_inlinecss %} + + {%- endif %} + + {%- block userhead %} + {%- endblock %} +{%- endblock %} + +{#- ### content ### -#} + +{%- block header %} + {%- if theme_showheader|tobool %} + + {%- endif %} +{%- endblock %} + +{%- block relbar1 -%}{{ relbar_top() }}{%- endblock -%} +{%- block relbar2 -%}{{ relbar_bottom() }}{%- endblock -%} + +{%- block footer %} + + + {% if theme_ga_ua %} + + {% endif %} +{%- endblock %} -- cgit v1.2.3