From f02333f6e1ad4da0a36d880037168e3eb0621c84 Mon Sep 17 00:00:00 2001 From: Daan Debie Date: Fri, 27 Dec 2013 22:58:14 +0100 Subject: Updated pelican-bootstrap3 to v1.1 --- pelican-bootstrap3/templates/archives.html | 2 +- pelican-bootstrap3/templates/article.html | 4 +- pelican-bootstrap3/templates/base.html | 48 +++++++++++++++---- pelican-bootstrap3/templates/categories.html | 2 +- pelican-bootstrap3/templates/includes/footer.html | 16 +++++++ pelican-bootstrap3/templates/includes/github.html | 16 +------ .../templates/includes/pagination.html | 21 +++++++++ pelican-bootstrap3/templates/includes/sidebar.html | 55 +++++++++++++++------- pelican-bootstrap3/templates/includes/taglist.html | 16 +++---- pelican-bootstrap3/templates/index.html | 22 +-------- 10 files changed, 126 insertions(+), 76 deletions(-) create mode 100644 pelican-bootstrap3/templates/includes/footer.html create mode 100644 pelican-bootstrap3/templates/includes/pagination.html (limited to 'pelican-bootstrap3/templates') diff --git a/pelican-bootstrap3/templates/archives.html b/pelican-bootstrap3/templates/archives.html index 0f61031..927dde0 100644 --- a/pelican-bootstrap3/templates/archives.html +++ b/pelican-bootstrap3/templates/archives.html @@ -6,7 +6,7 @@
{% for article in dates %}
{{ article.locale_date }}
-
{{ article.title }}
+
{{ article.title }}
{% endfor %}
diff --git a/pelican-bootstrap3/templates/article.html b/pelican-bootstrap3/templates/article.html index 8588bda..5b35765 100644 --- a/pelican-bootstrap3/templates/article.html +++ b/pelican-bootstrap3/templates/article.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% block title %}{{ article.title }}{% endblock %} +{% block title %}{{ article.title|striptags }}{% endblock %} {% block content %}
@@ -7,7 +7,7 @@

+ title="Permalink to {{ article.title|striptags }}"> {{ article.title }}

diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html index aea298d..580db39 100644 --- a/pelican-bootstrap3/templates/base.html +++ b/pelican-bootstrap3/templates/base.html @@ -20,9 +20,9 @@ {% endif %} {% if article %} - + - + {% elif page %} @@ -46,11 +46,16 @@ {% endif %} - + {% if DOCUTIL_CSS %} + + {% endif %} + {% if TYPOGRIFY %} + + {% endif %} - + {% if FEED_ALL_ATOM %} {{ title }} {% endfor %} {% if DISPLAY_PAGES_ON_MENU %} - {% for page in PAGES %} -
  • {{ page.title }}
  • - {% endfor %} + {% for p in PAGES %} + + {{ p.title }} + + {% endfor %} {% endif %} {% if DISPLAY_CATEGORIES_ON_MENU %} {% for cat, null in categories %}
  • - {{ cat }} + {{ cat | capitalize }}
  • {% endfor %} {% endif %} @@ -112,6 +119,7 @@ +{% include 'includes/footer.html' %} @@ -119,5 +127,27 @@ {% include 'includes/disqus_script.html' %} + +{% if PIWIK_SITE_ID and PIWIK_URL %} + {% if PIWIK_SSL_URL is not defined %} + {% set PIWIK_SSL_URL = PIWIK_URL %} + {% endif %} + + + +{% endif %} + diff --git a/pelican-bootstrap3/templates/categories.html b/pelican-bootstrap3/templates/categories.html index 2e1d523..fe3d6ac 100644 --- a/pelican-bootstrap3/templates/categories.html +++ b/pelican-bootstrap3/templates/categories.html @@ -6,7 +6,7 @@

    Categories for {{ SITENAME }}

    diff --git a/pelican-bootstrap3/templates/includes/footer.html b/pelican-bootstrap3/templates/includes/footer.html new file mode 100644 index 0000000..7e2cf39 --- /dev/null +++ b/pelican-bootstrap3/templates/includes/footer.html @@ -0,0 +1,16 @@ + \ No newline at end of file diff --git a/pelican-bootstrap3/templates/includes/github.html b/pelican-bootstrap3/templates/includes/github.html index f8542c5..1d1e7f2 100644 --- a/pelican-bootstrap3/templates/includes/github.html +++ b/pelican-bootstrap3/templates/includes/github.html @@ -12,18 +12,6 @@ {% set GITHUB_SKIP_FORK = "false" %} {% endif %} {% endif %} - {% if GITHUB_SORT_ATTRIBUTE is not defined %} - {% set GITHUB_SORT_ATTRIBUTE = "pushed_at" %} - {% endif %} - {% if GITHUB_SORT_DESCENDING is not defined %} - {% set GITHUB_SORT_DESCENDING = "true" %} - {% else %} - {% if GITHUB_SORT_DESCENDING %} - {% set GITHUB_SORT_DESCENDING = "true" %} - {% else %} - {% set GITHUB_SORT_DESCENDING = "false" %} - {% endif %} - {% endif %}