From e6f3c75122c344a39953c551e1fe480222b23390 Mon Sep 17 00:00:00 2001 From: Alexander Jung-Loddenkemper Date: Sun, 18 Mar 2012 14:52:34 +0100 Subject: added bootlex theme. --- bootlex/templates/analytics.html | 11 ++++++ bootlex/templates/archives.html | 15 ++++++++ bootlex/templates/article.html | 13 +++++++ bootlex/templates/author.html | 7 ++++ bootlex/templates/base.html | 80 +++++++++++++++++++++++++++++++++++++++ bootlex/templates/categories.html | 8 ++++ bootlex/templates/category.html | 5 +++ bootlex/templates/index.html | 53 ++++++++++++++++++++++++++ bootlex/templates/page.html | 6 +++ bootlex/templates/tag.html | 2 + bootlex/templates/tags.html | 17 +++++++++ 11 files changed, 217 insertions(+) create mode 100644 bootlex/templates/analytics.html create mode 100644 bootlex/templates/archives.html create mode 100644 bootlex/templates/article.html create mode 100644 bootlex/templates/author.html create mode 100644 bootlex/templates/base.html create mode 100644 bootlex/templates/categories.html create mode 100644 bootlex/templates/category.html create mode 100644 bootlex/templates/index.html create mode 100644 bootlex/templates/page.html create mode 100644 bootlex/templates/tag.html create mode 100644 bootlex/templates/tags.html (limited to 'bootlex/templates') diff --git a/bootlex/templates/analytics.html b/bootlex/templates/analytics.html new file mode 100644 index 0000000..86c297c --- /dev/null +++ b/bootlex/templates/analytics.html @@ -0,0 +1,11 @@ +{% if GOOGLE_ANALYTICS %} + + +{% endif %} \ No newline at end of file diff --git a/bootlex/templates/archives.html b/bootlex/templates/archives.html new file mode 100644 index 0000000..6e364d0 --- /dev/null +++ b/bootlex/templates/archives.html @@ -0,0 +1,15 @@ +{% extends "base.html" %} +{% block title %}Archiv{%endblock%} +{% block menu_entry_archive %} +class="active" +{% endblock %} +{% block content %} +

Archiv {{ pagename }}

+ +
+{% for article in dates %} +
{{ article.locale_date }}
+
{{ article.title }}
+{% endfor %} +
+{% endblock %} diff --git a/bootlex/templates/article.html b/bootlex/templates/article.html new file mode 100644 index 0000000..a407af8 --- /dev/null +++ b/bootlex/templates/article.html @@ -0,0 +1,13 @@ +{% extends "base.html" %} +{% block title %}{{ article.title }}{%endblock%} +{% block content %} +
+
+

{{ article.title }}

+
+

{% if article.author %}{{ article.author }} - {% endif %}{{ article.locale_date }} - {% if article.tags %}{% for tag in article.tags %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}

+
+ {{ article.content }} +
+
+{% endblock %} diff --git a/bootlex/templates/author.html b/bootlex/templates/author.html new file mode 100644 index 0000000..664aad1 --- /dev/null +++ b/bootlex/templates/author.html @@ -0,0 +1,7 @@ +{% extends "index.html" %} + +{% block title %}Posts von {{ author }}{% endblock %} +{% block content_title %} +

Posts von {{ author }}

+{% endblock %} + diff --git a/bootlex/templates/base.html b/bootlex/templates/base.html new file mode 100644 index 0000000..a48f00b --- /dev/null +++ b/bootlex/templates/base.html @@ -0,0 +1,80 @@ + + + + + {% block head %} + {% block title %}{% endblock title %} - {{ SITENAME }} + + + + + {% endblock head %} + + + + +
+
+
+ {% block content %} + {% endblock %} +
+
+
+ +
+
+
+ +
+ +
+
+
+

Proudly powered by bootstrap, pelican, python and Alex!

+
+
+
+
+ + {% include 'analytics.html' %} + + + diff --git a/bootlex/templates/categories.html b/bootlex/templates/categories.html new file mode 100644 index 0000000..7e4bd2c --- /dev/null +++ b/bootlex/templates/categories.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} +{% block content %} + +{% endblock %} diff --git a/bootlex/templates/category.html b/bootlex/templates/category.html new file mode 100644 index 0000000..4e6fd24 --- /dev/null +++ b/bootlex/templates/category.html @@ -0,0 +1,5 @@ +{% extends "index.html" %} +{% block content_title %} +

Articles in the {{ category }} category

+{% endblock %} + diff --git a/bootlex/templates/index.html b/bootlex/templates/index.html new file mode 100644 index 0000000..8e56370 --- /dev/null +++ b/bootlex/templates/index.html @@ -0,0 +1,53 @@ +{% extends "base.html" %} +{% block title %}Blog{%endblock%} +{% block content %} +
+{% block content_title %} +

Blog

+{% endblock %} + + + +
+{% endblock content %} diff --git a/bootlex/templates/page.html b/bootlex/templates/page.html new file mode 100644 index 0000000..6308d58 --- /dev/null +++ b/bootlex/templates/page.html @@ -0,0 +1,6 @@ +{% extends "base.html" %} +{% block title %}{{ page.title }}{%endblock%} +{% block content %} +

{{ page.title }}

+ {{ page.content }} +{% endblock %} diff --git a/bootlex/templates/tag.html b/bootlex/templates/tag.html new file mode 100644 index 0000000..c4817d7 --- /dev/null +++ b/bootlex/templates/tag.html @@ -0,0 +1,2 @@ +{% extends "index.html" %} +{% block title %}Tag {{ tag }}{% endblock %} \ No newline at end of file diff --git a/bootlex/templates/tags.html b/bootlex/templates/tags.html new file mode 100644 index 0000000..87f134c --- /dev/null +++ b/bootlex/templates/tags.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} +{% block title %}Tags{%endblock%} +{% block menu_entry_tag %} +class="active" +{% endblock %} +{% block content %} +

Tags

+ {% if tags %} + + {% else %} +

Sorry, bisher gibt es keine Tags.

+ {% endif %} +{% endblock %} -- cgit From f3060b4474f6364537b500713c4883ddf4002d9e Mon Sep 17 00:00:00 2001 From: Alexander Jung-Loddenkemper Date: Sun, 18 Mar 2012 20:04:02 +0100 Subject: merged analytics and changes to make bootlex xhtml strict --- bootlex/templates/analytics.html | 22 +++++++++++++--------- bootlex/templates/article.html | 4 ++-- bootlex/templates/base.html | 18 ++++++++---------- bootlex/templates/index.html | 6 +++--- 4 files changed, 26 insertions(+), 24 deletions(-) (limited to 'bootlex/templates') diff --git a/bootlex/templates/analytics.html b/bootlex/templates/analytics.html index 86c297c..2d7b5f2 100644 --- a/bootlex/templates/analytics.html +++ b/bootlex/templates/analytics.html @@ -1,11 +1,15 @@ {% if GOOGLE_ANALYTICS %} - - + {% endif %} \ No newline at end of file diff --git a/bootlex/templates/article.html b/bootlex/templates/article.html index a407af8..5a533fe 100644 --- a/bootlex/templates/article.html +++ b/bootlex/templates/article.html @@ -3,9 +3,9 @@ {% block content %}
-

{{ article.title }}

+

{{ article.title }}

-

{% if article.author %}{{ article.author }} - {% endif %}{{ article.locale_date }} - {% if article.tags %}{% for tag in article.tags %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}

+

{% if article.author %}{{ article.author }} - {% endif %}{{ article.locale_date }} - {% if article.tags %}{% for tag in article.tags %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}

{{ article.content }}
diff --git a/bootlex/templates/base.html b/bootlex/templates/base.html index a48f00b..bbb8797 100644 --- a/bootlex/templates/base.html +++ b/bootlex/templates/base.html @@ -1,15 +1,16 @@ - - + {% block head %} {% block title %}{% endblock title %} - {{ SITENAME }} - - - - + + + {% endblock head %} + + {% include 'analytics.html' %} + @@ -63,7 +64,7 @@
-
+
@@ -73,8 +74,5 @@
- - {% include 'analytics.html' %} - diff --git a/bootlex/templates/index.html b/bootlex/templates/index.html index 8e56370..9da666a 100644 --- a/bootlex/templates/index.html +++ b/bootlex/templates/index.html @@ -3,7 +3,7 @@ {% block content %}
{% block content_title %} -

Blog

+

Blog

{% endblock %}
    @@ -13,7 +13,7 @@

    {{ article.title }}

    -

    {% if article.author %}{{ article.author }} - {% endif %}{{ article.locale_date }} - {% if article.tags %}{% for tag in article.tags %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}

    +

    {% if article.author %}{{ article.author }} - {% endif %}{{ article.locale_date }} - {% if article.tags %}{% for tag in article.tags %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}

    {{ article.summary }}
    @@ -25,7 +25,7 @@
-
+

  • {% endfor %} -- cgit From 7dc4d494bd4a5dc5f81a0d2819bdedbcba4367b5 Mon Sep 17 00:00:00 2001 From: Alexander Jung-Loddenkemper Date: Wed, 28 Mar 2012 00:37:26 +0200 Subject: a bunch of bootlex fixes. --- bootlex/templates/article.html | 2 +- bootlex/templates/base.html | 9 +-------- bootlex/templates/index.html | 22 +++++++++++++++------- 3 files changed, 17 insertions(+), 16 deletions(-) (limited to 'bootlex/templates') diff --git a/bootlex/templates/article.html b/bootlex/templates/article.html index 5a533fe..18ba9a3 100644 --- a/bootlex/templates/article.html +++ b/bootlex/templates/article.html @@ -5,7 +5,7 @@

    {{ article.title }}

    -

    {% if article.author %}{{ article.author }} - {% endif %}{{ article.locale_date }} - {% if article.tags %}{% for tag in article.tags %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}

    +

    {% if article.author %}{{ article.author }} - {% endif %}{{ article.locale_date }} - {% if article.tags %}{% for tag in article.tags %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}

    {{ article.content }}
    diff --git a/bootlex/templates/base.html b/bootlex/templates/base.html index bbb8797..711bda6 100644 --- a/bootlex/templates/base.html +++ b/bootlex/templates/base.html @@ -14,13 +14,6 @@ -
    @@ -69,7 +62,7 @@
    -

    Proudly powered by bootstrap, pelican, python and Alex!

    +

    Proudly powered by bootstrap, pelican, python and Alex!

    diff --git a/bootlex/templates/index.html b/bootlex/templates/index.html index 9da666a..02ff0ee 100644 --- a/bootlex/templates/index.html +++ b/bootlex/templates/index.html @@ -13,7 +13,7 @@

    {{ article.title }}

    -

    {% if article.author %}{{ article.author }} - {% endif %}{{ article.locale_date }} - {% if article.tags %}{% for tag in article.tags %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}

    +

    {% if article.author %}{{ article.author }} - {% endif %}{{ article.locale_date }} - {% if article.tags %}{% for tag in article.tags %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}

    {{ article.summary }}
    @@ -32,20 +32,28 @@ -- cgit