Add a base URL to the template context, fix the notmyidea theme to be a bit more

prettier.
This commit is contained in:
Alexis Metaireau 2010-09-24 20:30:09 +01:00
commit 69c5fe3891
8 changed files with 38 additions and 26 deletions

View file

@ -1,7 +1,9 @@
{% extends "base.html" %}
{% block content %}
<section id="content" class="body">
<div class="hentry">
<header> <h2 class="entry-title"><a href="{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">{{ article.title }}</a></h2> </header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="{{ article.date.isoformat() }}">
{{ article.date.strftime('%Y-%m-%d %H:%M') }}
@ -10,8 +12,8 @@
By <a class="url fn" href="#">{{ article.author }}</a>
</address>
</footer><!-- /.post-info -->
<div class="entry-content">
{{ article.content }}
</div><!-- /.entry-content -->
</div>
</section>
{% endblock %}