From dd8c1998817a3abd707f6db44d193a21292ff462 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Sat, 30 Mar 2013 11:07:58 -0700 Subject: [PATCH] Fixes #44: Bootlex linking and whitespace problems --- bootlex/templates/article.html | 8 ++++---- bootlex/templates/base.html | 16 ++++++++-------- bootlex/templates/index.html | 11 +++++------ bootlex/templates/tags.html | 2 +- 4 files changed, 18 insertions(+), 19 deletions(-) diff --git a/bootlex/templates/article.html b/bootlex/templates/article.html index d2cfda6..7c64418 100644 --- a/bootlex/templates/article.html +++ b/bootlex/templates/article.html @@ -1,11 +1,11 @@ {% extends "base.html" %} {% block title %}{{ article.title }}{%endblock%} -{% block content %} -
+{% 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 %}

+

{% 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 }}
@@ -14,7 +14,7 @@ {% endif %} - + diff --git a/bootlex/templates/index.html b/bootlex/templates/index.html index c76ab3e..517016f 100644 --- a/bootlex/templates/index.html +++ b/bootlex/templates/index.html @@ -1,15 +1,15 @@ {% extends "base.html" %} {% block title %}Blog{%endblock%} -{% block content %} +{% block content %}
{% block content_title %}

Blog

{% endblock %}
    -{% for article in articles_page.object_list %} +{% for article in articles_page.object_list %}
  • -
    +

    {{ article.title }}

    @@ -29,12 +29,11 @@
  • - +

  • - - {% endfor %}
+