New version 0.2

Add coding information in all py files
Add dyn:post_url and dyn:post_full_url for replace directive (doesn't prepend http://)
Escape double quotes in metas tag
Add HTML5 markup for blog.soutade.fr
Add ChangeLog
This commit is contained in:
Grégory Soutadé 2013-02-09 08:55:06 +01:00
parent 1837bb127c
commit e795fa1af6
28 changed files with 306 additions and 181 deletions

13
ChangeLog Normal file
View File

@ -0,0 +1,13 @@
v0.2 (09/02/2013)
** User **
Add dyn:post_url and dyn:post_full_url for replace directive (doesn't prepend http://)
** Dev **
Add coding information in all py files
Add HTML5 markup for blog.soutade.fr
Add ChangeLog
** Bugs **
Escape double quotes in metas tag

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé
@ -61,6 +62,12 @@ class Index(DynastieGenerator):
value = value.replace('dyn:blog_id', str(self.blog.id)) value = value.replace('dyn:blog_id', str(self.blog.id))
if not self.cur_post_obj is None:
url = self.cur_post_obj.getPath()
full_url = self.cur_post_obj.blog.name + url
value = value.replace('dyn:post_url', url)
value = value.replace('dyn:post_full_url', full_url)
div_element.setAttribute(key, value) div_element.setAttribute(key, value)
root.replaceChild(div_element, replace_elem) root.replaceChild(div_element, replace_elem)

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé
@ -50,6 +51,10 @@ class Post(Index):
value = value.replace('dyn:comment_id', str(self.cur_comment.id)) value = value.replace('dyn:comment_id', str(self.cur_comment.id))
value = value.replace('dyn:blog_id', str(self.blog.id)) value = value.replace('dyn:blog_id', str(self.blog.id))
url = post.getPath()
full_url = post.blog.name + url
value = value.replace('dyn:post_url', url)
value = value.replace('dyn:post_full_url', full_url)
div_element.setAttribute(key, value) div_element.setAttribute(key, value)
@ -120,11 +125,14 @@ class Post(Index):
new_elem = None new_elem = None
if name == 'keywords': if name == 'keywords':
new_elem = self.createMeta(dom, name, post.keywords) value = post.keywords.replace('"', '“')
new_elem = self.createMeta(dom, name, value)
elif name == 'title': elif name == 'title':
new_elem = self.createMeta(dom, name, post.title) value = post.title.replace('"', '“')
new_elem = self.createMeta(dom, name, value)
elif name == 'description': elif name == 'description':
new_elem = self.createMeta(dom, name, post.description) value = post.description.replace('"', '“')
new_elem = self.createMeta(dom, name, value)
elif name == 'author': elif name == 'author':
try: try:
new_elem = self.createMeta(dom, name, post.author.first_name + ' ' + post.author.last_name) new_elem = self.createMeta(dom, name, post.author.first_name + ' ' + post.author.last_name)

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé

View File

@ -1,14 +1,21 @@
<dyn:base file="_base.html" block="content" xmlns:dyn="http://indefero.soutade.fr/p/dynastie"> <dyn:base file="_base.html" block="content" xmlns:dyn="http://indefero.soutade.fr/p/dynastie">
<div id="archive_year">Archives <dyn:archive year="1"/></div> <div id="archive_year">Archives <dyn:archive year="1"/></div>
<dyn:posts limit="5"> <dyn:posts limit="5">
<div class="post_header"> <article>
<dyn:title link="1"/> <header>
<div class="post_sub_header"> <div class="post_header">
<dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div> <dyn:title link="1"/>
</div> <div class="post_sub_header">
<dyn:tags link="1"/> <dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div>
</div> </div>
<dyn:post_content/> <dyn:tags link="1"/>
</div>
</header>
<dyn:post_content/>
<footer class="post_footer">
<dyn:replace div_name="a" href="http://dyn:post_full_url">permalink</dyn:replace> <dyn:replace div_name="a" href="dyn:post_url#comments">commentaire(s)</dyn:replace>
</footer>
</article>
</dyn:posts> </dyn:posts>
<dyn:navigation/> <dyn:navigation/>
</dyn:base> </dyn:base>

View File

@ -15,9 +15,11 @@
<img id="logo" src="/images/tux_final.png"/> <img id="logo" src="/images/tux_final.png"/>
<div class="body"> <div class="body">
<div class="table-row"> <div class="table-row">
<div class="table-cell" id="header"> <header>
<h2 id="title"><a href="/">Blog de Grégory Soutadé</a></h2> <div class="table-cell" id="header">
</div> <h2 id="title"><a href="/">Blog de Grégory Soutadé</a></h2>
</div>
</header>
</div> </div>
<div class="table-row"> <div class="table-row">
<div class="content"> <div class="content">
@ -32,54 +34,58 @@
</dyn:replace> </dyn:replace>
</div> </div>
</div> </div>
<div class="menu_content"> <nav>
<div class="menu_content_header">Menu principal</div> <div class="menu_content">
<div id="menu_main"> <div class="menu_content_header">Menu principal</div>
<div class="menu_content_content"><a href="/">Première page</a></div> <div id="menu_main">
<div class="menu_content_content"><a href="/about.html">À propos</a></div> <div class="menu_content_content"><a href="/">Première page</a></div>
<div class="menu_content_content"><a href="http://indefero.soutade.fr">Projets personnels</a></div> <div class="menu_content_content"><a href="/about.html">À propos</a></div>
<div class="menu_content_content"><a href="http://indefero.soutade.fr">Projets personnels</a></div>
</div>
</div> </div>
</div> <div class="menu_content">
<div class="menu_content"> <div class="menu_content_header">Catégories</div>
<div class="menu_content_header">Catégories</div> <div class="menu_content_content">
<div class="menu_content_content"> <ul>
<ul> <li><a href="/category/cinema">Cinéma</a></li>
<li><a href="/category/cinema">Cinéma</a></li> <li><a href="/category/articles">Articles</a></li>
<li><a href="/category/articles">Articles</a></li> <li><a href="/category/musique">Musique</a></li>
<li><a href="/category/musique">Musique</a></li> <li><a href="/category/configurations-pc">Configurations PC</a></li>
<li><a href="/category/configurations-pc">Configurations PC</a></li> </ul>
</ul> </div>
</div> </div>
</div> <div class="menu_content">
<div class="menu_content"> <div class="menu_content_header">Tags</div>
<div class="menu_content_header">Tags</div> <div class="menu_content_content">
<div class="menu_content_content"> <ul>
<ul> <li><a href="/tag/programmation">Programmation</a></li>
<li><a href="/tag/programmation">Programmation</a></li> <li><a href="/tag/python">Python</a></li>
<li><a href="/tag/python">Python</a></li> <li><a href="/tag/kisscount">KissCount</a></li>
<li><a href="/tag/kisscount">KissCount</a></li> <li><a href="/tag/jm2l">JM2L</a></li>
<li><a href="/tag/jm2l">JM2L</a></li> <li><a href="/tag/course-a-pied">Course à pied</a></li>
<li><a href="/tag/course-a-pied">Course à pied</a></li> </ul>
</ul> </div>
</div> </div>
</div> <div class="menu_content">
<div class="menu_content"> <div class="menu_content_header">Archives</div>
<div class="menu_content_header">Archives</div> <div class="menu_content_content">
<div class="menu_content_content"> <ul>
<ul> <li><a href="/archive/2012">2012</a></li>
<li><a href="/archive/2012">2012</a></li> <li><a href="/archive/2011">2011</a></li>
<li><a href="/archive/2011">2011</a></li> <li><a href="/archive/2010">2010</a></li>
<li><a href="/archive/2010">2010</a></li> </ul>
</ul> </div>
</div> </div>
</div> </nav>
<p style="text-align:center">Généré avec <a href="http://indefero.soutade.fr/p/dynastie">Dynastie</a></p> <p style="text-align:center">Généré avec <a href="http://indefero.soutade.fr/p/dynastie">Dynastie</a></p>
</div> </div>
</div> </div>
<div class="footer"> <footer>
Copyright © 2010-2013 Grégory Soutadé.<br/> <div class="footer">
All Rights Reserved. Copyright © 2010-2013 Grégory Soutadé.<br/>
</div> All Rights Reserved.
</div>
</footer>
</div> </div>
</body> </body>
</html> </html>

View File

@ -17,9 +17,11 @@
<img id="logo" src="/images/tux_final.png"/> <img id="logo" src="/images/tux_final.png"/>
<div class="body"> <div class="body">
<div class="table-row"> <div class="table-row">
<div class="table-cell" id="header"> <header>
<h2 id="title"><a href="/">Blog de Grégory Soutadé</a></h2> <div class="table-cell" id="header">
</div> <h2 id="title"><a href="/">Blog de Grégory Soutadé</a></h2>
</div>
</header>
</div> </div>
<div class="table-row"> <div class="table-row">
<div class="content"> <div class="content">
@ -34,54 +36,58 @@
</dyn:replace> </dyn:replace>
</div> </div>
</div> </div>
<div class="menu_content"> <nav>
<div class="menu_content_header">Menu principal</div> <div class="menu_content">
<div id="menu_main"> <div class="menu_content_header">Menu principal</div>
<div class="menu_content_content"><a href="/">Première page</a></div> <div id="menu_main">
<div class="menu_content_content"><a href="/about.html">À propos</a></div> <div class="menu_content_content"><a href="/">Première page</a></div>
<div class="menu_content_content"><a href="http://indefero.soutade.fr">Projets personnels</a></div> <div class="menu_content_content"><a href="/about.html">À propos</a></div>
</div> <div class="menu_content_content"><a href="http://indefero.soutade.fr">Projets personnels</a></div>
</div> </div>
<div class="menu_content">
<div class="menu_content_header">Catégories</div>
<div class="menu_content_content">
<ul>
<li><a href="/category/cinema">Cinéma</a></li>
<li><a href="/category/articles">Articles</a></li>
<li><a href="/category/musique">Musique</a></li>
<li><a href="/category/configurations-pc">Configurations PC</a></li>
</ul>
</div> </div>
</div> <div class="menu_content">
<div class="menu_content"> <div class="menu_content_header">Catégories</div>
<div class="menu_content_header">Tags</div> <div class="menu_content_content">
<div class="menu_content_content"> <ul>
<ul> <li><a href="/category/cinema">Cinéma</a></li>
<li><a href="/tag/programmation">Programmation</a></li> <li><a href="/category/articles">Articles</a></li>
<li><a href="/tag/python">Python</a></li> <li><a href="/category/musique">Musique</a></li>
<li><a href="/tag/kisscount">KissCount</a></li> <li><a href="/category/configurations-pc">Configurations PC</a></li>
<li><a href="/tag/jm2l">JM2L</a></li> </ul>
<li><a href="/tag/course-a-pied">Course à pied</a></li> </div>
</ul>
</div> </div>
</div> <div class="menu_content">
<div class="menu_content"> <div class="menu_content_header">Tags</div>
<div class="menu_content_header">Archives</div> <div class="menu_content_content">
<div class="menu_content_content"> <ul>
<ul> <li><a href="/tag/programmation">Programmation</a></li>
<li><a href="/archive/2012">2012</a></li> <li><a href="/tag/python">Python</a></li>
<li><a href="/archive/2011">2011</a></li> <li><a href="/tag/kisscount">KissCount</a></li>
<li><a href="/archive/2010">2010</a></li> <li><a href="/tag/jm2l">JM2L</a></li>
</ul> <li><a href="/tag/course-a-pied">Course à pied</a></li>
</ul>
</div>
</div> </div>
</div> <div class="menu_content">
<div class="menu_content_header">Archives</div>
<div class="menu_content_content">
<ul>
<li><a href="/archive/2012">2012</a></li>
<li><a href="/archive/2011">2011</a></li>
<li><a href="/archive/2010">2010</a></li>
</ul>
</div>
</div>
</nav>
<p style="text-align:center">Généré avec <a href="http://indefero.soutade.fr/p/dynastie">Dynastie</a></p> <p style="text-align:center">Généré avec <a href="http://indefero.soutade.fr/p/dynastie">Dynastie</a></p>
</div> </div>
</div> </div>
<div class="footer"> <footer>
Copyright © 2010-2013 Grégory Soutadé.<br/> <div class="footer">
All Rights Reserved. Copyright © 2010-2013 Grégory Soutadé.<br/>
</div> All Rights Reserved.
</div>
</footer>
</div> </div>
</body> </body>
</html> </html>

View File

@ -1,14 +1,21 @@
<dyn:base file="_base.html" block="content" xmlns:dyn="http://indefero.soutade.fr/p/dynastie"> <dyn:base file="_base.html" block="content" xmlns:dyn="http://indefero.soutade.fr/p/dynastie">
<div id="category_name"><dyn:category name="1"/></div> <div id="category_name"><dyn:category name="1"/></div>
<dyn:posts limit="5"> <dyn:posts limit="5">
<div class="post_header"> <article>
<dyn:title link="1"/> <header>
<div class="post_sub_header"> <div class="post_header">
<dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div> <dyn:title link="1"/>
</div> <div class="post_sub_header">
<dyn:tags link="1"/> <dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div>
</div> </div>
<dyn:post_content/> <dyn:tags link="1"/>
</div>
</header>
<dyn:post_content/>
<footer class="post_footer">
<dyn:replace div_name="a" href="http://dyn:post_full_url">permalink</dyn:replace> <dyn:replace div_name="a" href="dyn:post_url#comments">commentaire(s)</dyn:replace>
</footer>
</article>
</dyn:posts> </dyn:posts>
<dyn:navigation/> <dyn:navigation/>
</dyn:base> </dyn:base>

View File

@ -1,16 +1,25 @@
<dyn:base file="_base.html" block="content" xmlns:dyn="http://indefero.soutade.fr/p/dynastie"> <dyn:base file="_base.html" block="content" xmlns:dyn="http://indefero.soutade.fr/p/dynastie">
<dyn:posts limit="5"> <dyn:posts limit="5">
<div class="post_header"> <article>
<dyn:title link="1"/> <header>
<div class="post_sub_header"> <div class="post_header">
<dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div> <dyn:title link="1"/>
</div> <div class="post_sub_header">
<dyn:tags link="1"/> <dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div>
</div> </div>
<dyn:post_content/> <dyn:tags link="1"/>
</div>
</header>
<dyn:post_content/>
<footer class="post_footer">
<dyn:replace div_name="a" href="http://dyn:post_full_url">permalink</dyn:replace> <dyn:replace div_name="a" href="dyn:post_url#comments">commentaire(s)</dyn:replace>
</footer>
</article>
</dyn:posts> </dyn:posts>
<dyn:recents> <nav>
<span id="recents_title">More posts...</span> <dyn:recents>
</dyn:recents> <span id="recents_title">More posts...</span>
<dyn:navigation/> </dyn:recents>
<dyn:navigation/>
</nav>
</dyn:base> </dyn:base>

View File

@ -1,33 +1,42 @@
<dyn:base file="_base_post.html" block="content" xmlns:dyn="http://indefero.soutade.fr/p/dynastie"> <dyn:base file="_base_post.html" block="content" xmlns:dyn="http://indefero.soutade.fr/p/dynastie">
<dyn:post> <dyn:post>
<div class="post"> <article>
<div class="post_header"> <div class="post">
<dyn:title link="0"/> <header>
<div class="post_sub_header"> <div class="post_header">
<dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div> <dyn:title link="0"/>
</div> <div class="post_sub_header">
<dyn:tags link="1"/> <dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div>
</div>
<dyn:tags link="1"/>
</div>
</header>
<dyn:post_content> </dyn:post_content>
<footer class="post_footer">
<dyn:replace div_name="a" href="http://dyn:post_full_url">permalink</dyn:replace>
</footer>
<footer id="comments">
<dyn:comments>
<dyn:replace div_name="div" id="comment_dyn:comment_index"> </dyn:replace>
<div class="comment_header">#<dyn:comment_index/> De<dyn:comment_author/>, le<dyn:comment_date/></div>
<dyn:comment_content/>
<dyn:replace div_name="a" href="javascript:void(0);" onClick="javascript:display('response_dyn:comment_index');">Répondre</dyn:replace><br/>
<dyn:replace div_name="form" id="response_dyn:comment_index" class="response" method="POST" action="/comment/add/dyn:post_id/dyn:comment_id" onsubmit="return validateComment('response_dyn:comment_index');">
Auteur :<br/><input type="required" name="author"/><br/><br/>
e-mail* :<br/><input id="email" type="email" name="email"/><input type="email" name="mel"/><br/><br/>
Le commentaire :<br/><textarea type="required" name="the_comment" cols="80" rows="10"> </textarea><br/><br/>
<input type="submit" value="Commenter"/>
</dyn:replace>
</dyn:comments>
<dyn:replace div_name="form" id="response_0" method="POST" action="/comment/add/dyn:post_id/0" onsubmit="return validateComment('response_0');">
Auteur :<br/><input type="required" name="author"/><br/><br/>
e-mail* :<br/><input id="email" type="email" name="email"/><input type="email" name="mel"/><br/><br/>
Le commentaire :<br/><textarea type="required" name="the_comment" cols="80" rows="10"> </textarea><br/><br/>
<input type="submit" value="Commenter"/><br/><br/>
* Seulement pour être notifié d'une réponse à cet article
</dyn:replace>
</footer>
</div> </div>
<dyn:post_content> </dyn:post_content> </article>
<dyn:comments>
<dyn:replace div_name="div" id="comment_dyn:comment_index"> </dyn:replace>
<div class="comment_header">#<dyn:comment_index/> De<dyn:comment_author/>, le<dyn:comment_date/></div>
<dyn:comment_content/>
<dyn:replace div_name="a" href="javascript:void(0);" onClick="javascript:display('response_dyn:comment_index');">Répondre</dyn:replace><br/>
<dyn:replace div_name="form" id="response_dyn:comment_index" class="response" method="POST" action="/comment/add/dyn:post_id/dyn:comment_id" onsubmit="return validateComment('response_dyn:comment_index');">
Auteur :<br/><input type="text" name="author"/><br/><br/>
e-mail* :<br/><input id="email" type="text" name="email"/><input type="text" name="mel"/><br/><br/>
Le commentaire :<br/><textarea name="the_comment" cols="80" rows="10"> </textarea><br/><br/>
<input type="submit" value="Commenter"/>
</dyn:replace>
</dyn:comments>
<dyn:replace div_name="form" id="response_0" method="POST" action="/comment/add/dyn:post_id/0" onsubmit="return validateComment('response_0');">
Auteur :<br/><input type="text" name="author"/><br/><br/>
e-mail* :<br/><input id="email" type="text" name="email"/><input type="text" name="mel"/><br/><br/>
Le commentaire :<br/><textarea name="the_comment" cols="80" rows="10"> </textarea><br/><br/>
<input type="submit" value="Commenter"/><br/><br/>
* Seulement pour être notifié d'une réponse à cet article
</dyn:replace>
</div>
</dyn:post> </dyn:post>
</dyn:base> </dyn:base>

View File

@ -1,12 +1,19 @@
<dyn:base file="_base.html" block="content" xmlns:dyn="http://indefero.soutade.fr/p/dynastie"> <dyn:base file="_base.html" block="content" xmlns:dyn="http://indefero.soutade.fr/p/dynastie">
<dyn:posts limit="25"> <dyn:posts limit="25">
<div class="post_header"> <article>
<dyn:title/> <header>
<div class="post_sub_header"> <div class="post_header">
<dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div> <dyn:title/>
</div> <div class="post_sub_header">
<dyn:tags link="1"/> <dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div>
</div> </div>
<dyn:post_content/> <dyn:tags link="1"/>
</div>
</header>
<dyn:post_content/>
<footer class="post_footer">
<dyn:replace div_name="a" href="http://dyn:post_full_url">permalink</dyn:replace> <dyn:replace div_name="a" href="dyn:post_url#comments">commentaire(s)</dyn:replace>
</footer>
</article>
</dyn:posts> </dyn:posts>
</dyn:base> </dyn:base>

View File

@ -1,14 +1,21 @@
<dyn:base file="_base.html" block="content" xmlns:dyn="http://indefero.soutade.fr/p/dynastie"> <dyn:base file="_base.html" block="content" xmlns:dyn="http://indefero.soutade.fr/p/dynastie">
<div id="tag_name"><dyn:tag name="1"/></div> <div id="tag_name"><dyn:tag name="1"/></div>
<dyn:posts limit="5"> <dyn:posts limit="5">
<div class="post_header"> <article>
<dyn:title link="1"/> <header>
<div class="post_sub_header"> <div class="post_header">
<dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div> <dyn:title link="1"/>
</div> <div class="post_sub_header">
<dyn:tags link="1"/> <dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div>
</div> </div>
<dyn:post_content/> <dyn:tags link="1"/>
</div>
</header>
<dyn:post_content/>
<footer class="post_footer">
<dyn:replace div_name="a" href="http://dyn:post_full_url">permalink</dyn:replace> <dyn:replace div_name="a" href="dyn:post_url#comments">commentaire(s)</dyn:replace>
</footer>
</article>
</dyn:posts> </dyn:posts>
<dyn:navigation/> <dyn:navigation/>
</dyn:base> </dyn:base>

View File

@ -83,7 +83,7 @@ div.menu
padding:10px; padding:10px;
} }
div.menu > div.menu_content div.menu div.menu_content
{ {
background-color: #edeee7; background-color: #edeee7;
border-style : solid ridge ridge solid; border-style : solid ridge ridge solid;
@ -95,7 +95,7 @@ div.menu > div.menu_content
margin :10px; margin :10px;
} }
div.menu > div.menu_content > div.menu_content_header div.menu div.menu_content div.menu_content_header
{ {
font-family: Tahoma,Arial,Helvetica,Sans-Serif; font-family: Tahoma,Arial,Helvetica,Sans-Serif;
font-size: 17px; font-size: 17px;
@ -106,7 +106,7 @@ div.menu > div.menu_content > div.menu_content_header
color: #475028; color: #475028;
} }
div.menu > div.menu_content > div.menu_content_content div.menu div.menu_content div.menu_content_content
{ {
color: #5e6a34; color: #5e6a34;
} }
@ -119,7 +119,7 @@ div.menu_content_content a
font-style: normal; font-style: normal;
} }
div.menu > div.menu_content > div.menu_content_content a:link div.menu div.menu_content div.menu_content_content a:link
{ {
font-family: Tahoma,Arial,Helvetica,Sans-Serif; font-family: Tahoma,Arial,Helvetica,Sans-Serif;
color: #5e6a34; color: #5e6a34;
@ -127,7 +127,7 @@ div.menu > div.menu_content > div.menu_content_content a:link
font-style: normal; font-style: normal;
} }
div.menu > div.menu_content > div.menu_content_content a:hover div.menu div.menu_content div.menu_content_content a:hover
{ {
font-family: Tahoma,Arial,Helvetica,Sans-Serif; font-family: Tahoma,Arial,Helvetica,Sans-Serif;
color: #5e6a34; color: #5e6a34;
@ -135,12 +135,12 @@ div.menu > div.menu_content > div.menu_content_content a:hover
font-style: normal; font-style: normal;
} }
div.menu > div.menu_content > div.menu_content_content ul div.menu div.menu_content div.menu_content_content ul
{ {
padding-left:20px; padding-left:20px;
} }
div.menu > div.menu_content > div.menu_content_content li div.menu div.menu_content div.menu_content_content li
{ {
list-style-image: url("/images/BlockContentBullets.png"); list-style-image: url("/images/BlockContentBullets.png");
} }
@ -159,7 +159,7 @@ div.post
margin-bottom:100px; margin-bottom:100px;
} }
div.post > div.post_header div.post div.post_header
{ {
display:block; display:block;
font-family: Tahoma,Arial,Helvetica,Sans-Serif; font-family: Tahoma,Arial,Helvetica,Sans-Serif;
@ -167,7 +167,7 @@ div.post > div.post_header
padding-bottom:5px; padding-bottom:5px;
} }
div.post > div.post_header > div.title div.post div.post_header div.title
{ {
display:block; display:block;
text-decoration:none; text-decoration:none;
@ -189,7 +189,7 @@ div.post > div.post_header > div.title
color: #181B0D; color: #181B0D;
} }
div.post > div.post_header > div.title > a div.post_header div.title > a
{ {
display:block; display:block;
text-decoration:none; text-decoration:none;
@ -211,7 +211,7 @@ div.post > div.post_header > div.title > a
color: #181B0D; color: #181B0D;
} }
div.post > div.post_header > div.title > a:hover div.post_header div.title > a:hover
{ {
display:block; display:block;
text-decoration:none; text-decoration:none;
@ -233,7 +233,7 @@ div.post > div.post_header > div.title > a:hover
color: #181B0D; color: #181B0D;
} }
div.post > div.post_header > div.post_sub_header div.post_header div.post_sub_header
{ {
display:block; display:block;
background-color: #edeee7; background-color: #edeee7;
@ -241,7 +241,7 @@ div.post > div.post_header > div.post_sub_header
padding : 3px; padding : 3px;
} }
div.post > div.post_header > div.post_sub_header > div.author_icon div.post_header div.post_sub_header > div.author_icon
{ {
display:inline; display:inline;
background-image: url('/images/authoricon.png'); background-image: url('/images/authoricon.png');
@ -250,12 +250,12 @@ div.post > div.post_header > div.post_sub_header > div.author_icon
padding-left: 18px; padding-left: 18px;
} }
div.post > div.post_header > div.post_sub_header > div.author_icon > div.author div.post_header div.post_sub_header > div.author_icon div.author
{ {
display:inline; display:inline;
} }
div.post > div.post_header > div.post_sub_header > div.date div.post_header div.post_sub_header div.date
{ {
display:inline; display:inline;
font-family: Tahoma,Arial,Helvetica,Sans-Serif; font-family: Tahoma,Arial,Helvetica,Sans-Serif;
@ -265,7 +265,7 @@ div.post > div.post_header > div.post_sub_header > div.date
padding-left: 18px; padding-left: 18px;
} }
div.post > div.post_content div.post div.post_content
{ {
display:block; display:block;
margin-top:1%; margin-top:1%;
@ -274,6 +274,30 @@ div.post > div.post_content
} }
footer.post_footer
{
text-align:right;
}
footer.post_footer > a, a:link, a:hover
{
color: blue;
text-decoration:none;
}
footer.post_footer > a:hover
{
color: blue;
text-decoration:underline;
}
footer.post_footer > a:visited
{
color: purple;
text-decoration:underline;
}
div.recents div.recents
{ {
margin-left:20px; margin-left:20px;

View File

@ -9,6 +9,6 @@
<a href="/user">Users</a> <a href="/blog">Blogs</a> <a href="/disconnect">Disconnect</a><br/><br/> <a href="/user">Users</a> <a href="/blog">Blogs</a> <a href="/disconnect">Disconnect</a><br/><br/>
{% block content %} {% endblock %} {% block content %} {% endblock %}
<br/><br/><br/> <br/><br/><br/>
<center><a href="http://indefero.soutade.fr/p/dynastie">Dynastie</a> 0.1</center> <center><a href="http://indefero.soutade.fr/p/dynastie">Dynastie</a> 0.2</center>
</body> </body>
</html> </html>

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
Copyright 2012-2013 Grégory Soutadé Copyright 2012-2013 Grégory Soutadé

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
""" """
WSGI config for dynastie project. WSGI config for dynastie project.