mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 19:42:37 +02:00
theme tweaks
This commit is contained in:
parent
7015d3a790
commit
67340c0dad
3 changed files with 17 additions and 5 deletions
|
@ -1,10 +1,11 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
PATH = "content"
|
PATH = "content"
|
||||||
AUTHOR = u'Alexis Métaireau'
|
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/"
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue