diff --git a/pelican.conf.py b/pelican.conf.py index 519defc..fa97eb7 100644 --- a/pelican.conf.py +++ b/pelican.conf.py @@ -1,10 +1,11 @@ # -*- coding: utf-8 -*- PATH = "content" AUTHOR = u'Alexis Métaireau' -SITENAME = u"Alexis' log" +SITENAME = u"Alexis' log" THEME = "theme" -DISQUS_SITENAME = "blog-notmyidea" +TYPOGRIFY = True + SITEURL = 'http://blog.notmyidea.org' GITHUB_URL = "http://github.com/ametaireau/" diff --git a/theme/static/css/main.css b/theme/static/css/main.css index b073e51..566a1f8 100644 --- a/theme/static/css/main.css +++ b/theme/static/css/main.css @@ -1,5 +1,6 @@ @import url(http://fonts.googleapis.com/css?family=Rosario); @import url("pygment.css"); +@import url("typogrify.css"); body { width: 800px; @@ -97,3 +98,8 @@ nav ul li { font-style: italic; text-align: justify; } + +.description { + margin-top: -15px; + font-style: italic; +} diff --git a/theme/templates/index.html b/theme/templates/index.html index 15e48dc..9440c39 100644 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -1,10 +1,15 @@ {% extends "base.html" %} {% block content %} +
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.
+ {% for article in articles %}{{ article.description }}
-Published on {{ article.locale_date }}
+{{ article.locale_date }}
+ {% if article.description %} +{{ article.description }}
+ {% endif %} {% endfor %} {% endblock %} -