From e27cca7f72744a79671f40df7ed6e7f3520143b2 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sun, 21 Apr 2013 21:25:41 +0200 Subject: Added a resume on the blog in static page --- theme/templates/article.html | 2 +- theme/templates/menu.html | 16 +++++++++++++--- theme/templates/page.html | 3 ++- 3 files changed, 16 insertions(+), 5 deletions(-) (limited to 'theme/templates') diff --git a/theme/templates/article.html b/theme/templates/article.html index f66fe72..6c57dbf 100755 --- a/theme/templates/article.html +++ b/theme/templates/article.html @@ -4,7 +4,7 @@ {% block content %}
-

{{ article.title }}

+

{{ article.title }}

{%include 'meta.html'%}
diff --git a/theme/templates/menu.html b/theme/templates/menu.html index 5aca0f7..037d85a 100755 --- a/theme/templates/menu.html +++ b/theme/templates/menu.html @@ -26,9 +26,19 @@ {{ submenu(categories, 'categories', 'Catégories') }} - {% if LINKS %} - {{ submenu(LINKS, 'index', 'Liens') }} - {% endif %} +
  • À lire +
      + {% for page in pages %} +
    • {{ page.title }}
    • + {% endfor %} + {% if pages and LINKS %} +
      + {% endif %} + {% for link, target in LINKS %} +
    • {{ link }}
    • + {% endfor %} +
    +
  • {# diff --git a/theme/templates/page.html b/theme/templates/page.html index 4a2a9b7..1608771 100755 --- a/theme/templates/page.html +++ b/theme/templates/page.html @@ -1,10 +1,11 @@ {% extends "base.html" %} + {% block title %}{{ page.title }}{% endblock %} {% block content %}

    {{ page.title }}

    {% if PDF_PROCESSOR %}get the pdf{% endif %} -
     
    +
    {{ page.content }}
    -- cgit v1.2.3