theme tweaks

This commit is contained in:
Alexis Metaireau 2012-03-30 02:00:04 +02:00
parent 7015d3a790
commit 67340c0dad
3 changed files with 17 additions and 5 deletions

View file

@ -4,7 +4,8 @@ AUTHOR = u'Alexis Métaireau'
SITENAME = u"Alexis' log" SITENAME = u"Alexis' log"
THEME = "theme" THEME = "theme"
DISQUS_SITENAME = "blog-notmyidea" TYPOGRIFY = True
SITEURL = 'http://blog.notmyidea.org' SITEURL = 'http://blog.notmyidea.org'
GITHUB_URL = "http://github.com/ametaireau/" GITHUB_URL = "http://github.com/ametaireau/"

View file

@ -1,5 +1,6 @@
@import url(http://fonts.googleapis.com/css?family=Rosario); @import url(http://fonts.googleapis.com/css?family=Rosario);
@import url("pygment.css"); @import url("pygment.css");
@import url("typogrify.css");
body { body {
width: 800px; width: 800px;
@ -97,3 +98,8 @@ nav ul li {
font-style: italic; font-style: italic;
text-align: justify; text-align: justify;
} }
.description {
margin-top: -15px;
font-style: italic;
}

View file

@ -1,10 +1,15 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
<p>Hey, I'm Alexis and this is my blog. I try to talk about freedom, free
software and activistm. I'm currently spending my days in Paris, doing
python for the mozilla services team.</p>
{% for article in articles %} {% for article in articles %}
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2> <h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
<p>{{ article.description }}</p> <p class="date">{{ article.locale_date }}</p>
<p class="date">Published on {{ article.locale_date }}</p> {% if article.description %}
<p class="description">{{ article.description }}</p>
{% endif %}
{% endfor %} {% endfor %}
{% endblock %} {% endblock %}