From 9839a49f36ee0b637b08b76e8ed5560409c9db3b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Nov 2014 00:29:11 -0500 Subject: Simplify theme. --- themes/lv2/templates/page.html | 72 +++++++----------------------------------- 1 file changed, 12 insertions(+), 60 deletions(-) (limited to 'themes/lv2/templates/page.html') diff --git a/themes/lv2/templates/page.html b/themes/lv2/templates/page.html index f8757fa..33f6aca 100644 --- a/themes/lv2/templates/page.html +++ b/themes/lv2/templates/page.html @@ -1,64 +1,16 @@ {% extends "base.html" %} -{% block title %}{{ page.title }} - {{ SITENAME }}{% endblock %} -{% block html_lang %}{{ page.lang }}{% endblock %} -{% block meta %} - {% if page.author %} - - {% else %} - - {% endif %} - {% if page.summary %} - - {% endif %} +{% block title %} + {% if page.title %} + {{ page.title }} + {% else %} + {{ SITENAME }} + {% endif %} {% endblock %} -{% block opengraph %} - {% if OPEN_GRAPH_FB_APP_ID %} - +{% block content %} +
+ {% if page.title %} +

{{ page.title }}

{% endif %} - - - - - - {% if page.og_image %} - - {% elif OPEN_GRAPH_IMAGE %} - - {% endif %} -{% endblock %} - -{% block canonical_rel %} - -{% endblock %} - -{% block breadcrumbs %} - {% if DISPLAY_BREADCRUMBS %} - - {% endif %} -{% endblock %} - -{% block content %} -
-

{{ page.title }}

- {% import 'includes/translations.html' as translations with context %} - {{ translations.translations_for(page) }} - {% if PDF_PROCESSOR %} - - get the pdf - - {% endif %} -
- {{ page.content }} - {% if page.comments == 'enabled' %} - {% include 'includes/comments.html' %} - {% endif %} -
-
+
+ {{ page.content }} {% endblock %} -- cgit v1.2.1