From e73f99924e8449c5a8239b07bd5a05a74e892dc4 Mon Sep 17 00:00:00 2001 From: Stephen Frost Date: Tue, 18 Apr 2017 22:43:49 -0400 Subject: [PATCH] Use new index_base.html for the main page --- templates/index_base.html | 232 +++++++++++++++++++++++++++++++++++++ templates/pages/index.html | 2 +- 2 files changed, 233 insertions(+), 1 deletion(-) create mode 100644 templates/index_base.html diff --git a/templates/index_base.html b/templates/index_base.html new file mode 100644 index 0000000..c470fe4 --- /dev/null +++ b/templates/index_base.html @@ -0,0 +1,232 @@ +{%macro media(url)%}{{mediabase|default("/")}}static/{%if githash%}{{githash}}/{%endif%}{{url}}{%endmacro-%} +{%macro link(url)%}{{linkbase|default("/")}}{{url}}{%endmacro-%} +{%macro menulink(subpage,title,magic)%}{{title}}{%endmacro-%} + + + + + + + + + + + {%block title%}PostgresOpen 2017{%endblock%} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{%block extrahead%}{%endblock%} + + + + + + + {%block content%}{%endblock%} + + + + + + diff --git a/templates/pages/index.html b/templates/pages/index.html index 7460200..01137ab 100644 --- a/templates/pages/index.html +++ b/templates/pages/index.html @@ -1,4 +1,4 @@ -{%extends "base.html" %} +{%extends "index_base.html" %} {%block title%}PostgresOpen 2017{%endblock%} {%block pagetitle%}PostgresOpen 2017{%endblock%} {%block content%} -- 2.39.5