Fixes #44: Bootlex linking and whitespace problems

This commit is contained in:
Justin Mayer
2013-03-30 11:07:58 -07:00
parent 250484f57a
commit dd8c199881
4 changed files with 18 additions and 19 deletions

View File

@@ -5,7 +5,7 @@
<div class="header">
<h1>{{ article.title }}</h1>
</div>
<p class="meta"><small><span>{% if article.author %}<a href="{{ SITEURL }}author/{{ article.author.slug }}/">{{ article.author }}</a> - {% endif %}</span><span>{{ article.locale_date }}</span> - <span class="tags">{% if article.tags %}{% for tag in article.tags %}<a href="/tag/{{ tag }}/">{{ tag }}</a>{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}</span></small></p>
<p class="meta"><small><span>{% if article.author %}<a href="{{ SITEURL }}/author/{{ article.author.slug }}/">{{ article.author }}</a> - {% endif %}</span><span>{{ article.locale_date }}</span> - <span class="tags">{% if article.tags %}{% for tag in article.tags %}<a href="/tag/{{ tag }}/">{{ tag }}</a>{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}</span></small></p>
<div class="entry-content">
{{ article.content }}
</div><!-- /.entry-content -->

View File

@@ -31,10 +31,9 @@
</li>
<li><hr /></li>
{% endfor %}
</ul><!-- /#posts-list -->
<div class="pagination pagination-centered">
<ul>
{% if articles_page.has_previous() and (articles_page.previous_page_number() != 1) %}

View File

@@ -8,7 +8,7 @@ class="active"
{% if tags %}
<ul>
{% for tag, articles in tags %}
<li><a href="{{ SITEURL }}tag/{{ tag }}/">{{ tag }}</a></li>
<li><a href="{{ SITEURL }}/tag/{{ tag }}/">{{ tag }}</a></li>
{% endfor %}
</ul>
{% else %}