From 2c1c05923d7b46707757bdc24fe289a2ff3d8ac7 Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Mon, 14 May 2012 18:33:49 +0100 Subject: [PATCH 1/3] Fix a broken URL in the simple template --- pelican/themes/simple/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican/themes/simple/templates/base.html b/pelican/themes/simple/templates/base.html index a1017219..ad2723fd 100644 --- a/pelican/themes/simple/templates/base.html +++ b/pelican/themes/simple/templates/base.html @@ -21,7 +21,7 @@ {% endfor %} {% else %} {% for cat, null in categories %} - {{ cat }} + {{ cat }} {% endfor %} {% endif %} From a16c19545f4ca5f1442c7859d3207121c0be4920 Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Mon, 14 May 2012 18:46:27 +0100 Subject: [PATCH 2/3] Don't duplicate html across themes --- pelican/themes/notmyidea/templates/categories.html | 8 -------- pelican/themes/notmyidea/templates/tags.html | 0 pelican/themes/simple/templates/index.html | 14 +------------- .../templates/pagination.html | 0 4 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 pelican/themes/notmyidea/templates/categories.html delete mode 100644 pelican/themes/notmyidea/templates/tags.html rename pelican/themes/{notmyidea => simple}/templates/pagination.html (100%) diff --git a/pelican/themes/notmyidea/templates/categories.html b/pelican/themes/notmyidea/templates/categories.html deleted file mode 100644 index e29be0ca..00000000 --- a/pelican/themes/notmyidea/templates/categories.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "base.html" %} -{% block content %} -
    -{% for category, articles in categories %} -
  • {{ category }}
  • -{% endfor %} -
-{% endblock %} diff --git a/pelican/themes/notmyidea/templates/tags.html b/pelican/themes/notmyidea/templates/tags.html deleted file mode 100644 index e69de29b..00000000 diff --git a/pelican/themes/simple/templates/index.html b/pelican/themes/simple/templates/index.html index ad2a3b2e..dfdb0b45 100644 --- a/pelican/themes/simple/templates/index.html +++ b/pelican/themes/simple/templates/index.html @@ -17,18 +17,6 @@ {% endfor %} -

- {% if articles_page.has_previous() %} - {% if articles_page.previous_page_number() == 1 %} - « - {% else %} - « - {% endif %} - {% endif %} - Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} - {% if articles_page.has_next() %} - » - {% endif %} -

+{% include 'pagination.html' %} {% endblock content %} diff --git a/pelican/themes/notmyidea/templates/pagination.html b/pelican/themes/simple/templates/pagination.html similarity index 100% rename from pelican/themes/notmyidea/templates/pagination.html rename to pelican/themes/simple/templates/pagination.html From 40dc019b3092ce0ed92947ace5b96b5b0fdefa8c Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Tue, 15 May 2012 11:58:40 +0300 Subject: [PATCH 3/3] Update CHANGELOG --- CHANGELOG | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 46aa68a5..373892cf 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,10 +1,18 @@ -X.X +3.0 - XX/XX/XXXX * Refactored the way URL are handled. * Improved the english documentation * Fixed packaging using setuptools entrypoints * Added typogrify support * Added a way to disable feed generation +* Added support for DIRECT_TEMPLATES +* Allow multiple extensions for content files +* Added less support +* Improved the import script +* Fixed a bunch of bugs :-) +* Added functional tests +* Rsync support in the generated Makefile +* Improved feed support (easily pluggable with feedburner for instance) 2.8