forked from jokull/pelican-themes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Thème terminé - décidemment, j'ai du mal avec GIT!
- Loading branch information
skami
committed
Feb 14, 2011
1 parent
7611f3d
commit 6bdd8ef
Showing
11 changed files
with
186 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
Attention, ce thème n'est pas terminé, il pourrait ne pas fonctionner correctoment sur votre site... | ||
Thème «Lightweight» pour pelican | ||
################################ | ||
|
||
Description | ||
=========== | ||
|
||
:Créé le: 14 février 2011 | ||
:Technologies utilisées: xHTML5, CSS 1-3, polices TTF | ||
:Couleurs utilisées: Tons froids (gris/bleu) | ||
:Design extensif: Oui | ||
:Testé sous: Mozilla Firefox 4.0b10, Chromium 9.0.597.83, ELinks 0.12pre5 | ||
:Langue: Français | ||
:Détails: Voire capture d'écran et source | ||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{% extends "base.html" %} | ||
|
||
{%block title %}{{ SITENAME }} - Archives{%endblock%} | ||
|
||
{% block content %} | ||
<h2 class="page_title">Archives</h1> | ||
<table id="archives"> | ||
<tbody> | ||
<tr> | ||
<th>Date</th> | ||
<th>Article</th> | ||
</tr> | ||
{% for article in dates %} | ||
<tr> | ||
<td>{{ article.date.strftime(DEFAULT_DATE_FORMAT or '%a %d %B %Y') }}</td> | ||
<td><a href='{{ article.url }}'>{{ article.title }}</a></td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,31 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block title %}{{ SITENAME }} - {{ article.title }}{% endblock %} | ||
|
||
{% block content %} | ||
<article class="post"> | ||
<h2 class="page_title"><a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a></h2> | ||
<details class="meta"> | ||
<p> | ||
Posté{%if article.date %} le <time pubdate="pubdate" datetime="{{ article.date }}">{{ article.locale_date }}</time>{% endif %}{% if article.author %} par {{ article.author }}{% endif %} dans «<a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>». | ||
{% if articles.tags %}<br />Tags : {% for tag in article.tags %}{% if loop.index > 1%}, {% endif %}<span class="tag"><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a></span>{% endfor %}{%endif%} | ||
</p> | ||
</details> | ||
<section class="post_content"> | ||
{% block content %} | ||
<article class="post"> | ||
<h2 class="page_title"><a href="{{ article.url }}" rel="bookmark" title="{{SITENAME}} - {{ article.title }}">{{ article.title }}</a></h2> | ||
|
||
<section class="post_content"> | ||
{{ article.content }} | ||
</section> | ||
</article> | ||
</section> | ||
|
||
{%include 'meta.html'%} | ||
</article> | ||
|
||
{% if DISQUS_SITENAME %} | ||
<div class="comments"> | ||
<h2>Commentaires:</h2> | ||
<div id="disqus_thread"></div> | ||
<script type="text/javascript"> | ||
var disqus_identifier = "{{ article.url }}"; | ||
(function() { | ||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | ||
dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js'; | ||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | ||
})(); | ||
</script> | ||
</div> | ||
{% endif %} | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% extends "base.html" %} | ||
{% block title %}{{ SITENAME }} - {{ category}}{% endblock %} | ||
|
||
{% block content %} | ||
<h2 class="page_title">Articles dans la catégorie «{{ category }}»</h2> | ||
{% if articles %} | ||
{% for article in articles %} | ||
<article class="post"> | ||
<h2 class="title"><a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a></h2> | ||
{%include 'meta.html'%} | ||
|
||
<section class="post_content"> | ||
{{ article.summary }}<br /> | ||
<a class="more" href="{{ SITEURL }}/{{ article.url }}">Lire la suite...</a> | ||
</section> | ||
</article> | ||
{% endfor %} | ||
{% endif %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,59 @@ | ||
<aside id="sidebar"> | ||
<h2>Sidebar</h2> | ||
{% block sidebar %} | ||
{% block sidebar_header %} | ||
{% endblock %} | ||
|
||
<div class="widget" id="categories"> | ||
<h2>Catégories</h2> | ||
<ul> | ||
{% for cat, null in categories %} | ||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
|
||
{% if article and article.tags %} | ||
<div class="widget" id="tags"> | ||
<h2>Mots-clés:</h2> | ||
<ul> | ||
{% for tag in article.tags %} | ||
<li><a href="{{SITEURL}}/tag/{{tag}}.html">{{ tag }}</a></li> | ||
{% endfor %} | ||
<li><a class="more" href="{{SITEURL}}/tags.html">Plus...</a></li> | ||
</ul> | ||
</div> | ||
{%endif%} | ||
|
||
{% if LINKS %} | ||
<div class="widget" id="blogroll"> | ||
<h2>Liens</h2> | ||
<ul> | ||
{% for name, link in LINKS %} | ||
<li><a href="{{ link }}">{{ name }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
{% endif %} | ||
|
||
{% if SOCIAL %} | ||
<div class="widget" id="social"> | ||
<h2>Réseaux sociaux</h2> | ||
<ul> | ||
{% for name, link in SOCIAL %} | ||
<li><a href="{{ link }}">{{ name }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
{% endif %} | ||
|
||
{% if FEED or FEED_RSS %} | ||
<div class="widget" id="subscribe"> | ||
<h2>S'abonner</h2> | ||
<ul> | ||
<li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate">Flux ATOM</a></li> | ||
{% if FEED_RSS %} | ||
<li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">Flux RSS</a></li> | ||
{% endif %} | ||
</ul> | ||
</div> | ||
{% endif %} | ||
</aside> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% extends "base.html" %} | ||
{% block title %}{{ SITENAME }} - «{{ tag }}»{% endblock %} | ||
|
||
{% block content %} | ||
<h2 class="page_title">Articles avec le mot-clé «{{ tag }}»</h2> | ||
{% if articles %} | ||
{% for article in articles %} | ||
<article class="post"> | ||
<h2 class="title"><a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a></h2> | ||
{%include 'meta.html'%} | ||
|
||
<section class="post_content"> | ||
{{ article.summary }}<br /> | ||
<a class="more" href="{{ SITEURL }}/{{ article.url }}">Lire la suite...</a> | ||
</section> | ||
</article> | ||
{% endfor %} | ||
{% endif %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block title %}{{ SITENAME }} - Mots-clés{% endblock %} | ||
|
||
{% block content %} | ||
<h2 class="page_title">Liste des mots-clés</h2> | ||
<ul id="tag_list"> | ||
{% for tag, articles in tags %} | ||
<li><h3><a href="{{SITEURL}}/tag/{{tag}}.html">{{ tag }}</a></h3></li> | ||
{% endfor %} | ||
</ul> | ||
{% endblock %} |