Use object.url to get the url for author, category and tags
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
<h2>Tags</h2>
|
||||
<ul class="tag">
|
||||
{% for tag in tag_cloud|sort %}
|
||||
<li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/tag/{{ tag.0 }}.html">{{ tag.0 }}</a></li>
|
||||
<li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0 }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<div class="meta wrapper">
|
||||
<time datetime="{{ article.date.isoformat() }}" pubdate>{{ article.locale_date }}</time>
|
||||
<ul class="tag clearfix">
|
||||
<li><a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a></li>
|
||||
<li><a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></li>
|
||||
{% if article.tags %}
|
||||
{% for tag in article.tags %}
|
||||
<li><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a></li>
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<ul class="tag">
|
||||
{% for tag in tag_cloud %}
|
||||
<li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/tag/{{ tag.0 }}.html">{{ tag.0 }}</a></li>
|
||||
<li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0 }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% for cat, null in categories %}
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<p class="pull-right"><a href="{{ SITEURL }}/archives.html">[archives]</a> <a href="{{ SITEURL }}/tags.html">[tags]</a></p>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{% block content %}
|
||||
<ul>
|
||||
{% for category, articles in categories %}
|
||||
<li><a href="{{ SITEURL }}/category/{{ category }}.html">{{ category }}</a></li>
|
||||
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Permalink: <a class="more" href="{{ SITEURL }}/{{ article.url }}">{{ article.date }}</a>
|
||||
{% if article.author %}by <a class="url fn" href="{{ SITEURL }}/author/{{ article.author }}.html">{{ article.author }}</a>{% endif %}
|
||||
in <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>
|
||||
{% if article.tags %}tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a> {% endfor %}{% endif %}
|
||||
{% if article.author %}by <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>{% endif %}
|
||||
in <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
|
||||
{% if article.tags %}tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> {% endfor %}{% endif %}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{% block content %}
|
||||
<ul>
|
||||
{% for tag, articles in tags %}
|
||||
<li><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a></li>
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
{% endif %}
|
||||
{% for cat, null in categories %}
|
||||
<li {% if cat == category %}class="active"{% endif %}>
|
||||
<a href="{{ SITEURL }}/category/{{ cat }}.html">
|
||||
<a href="{{ SITEURL }}/{{ cat.url }}">
|
||||
<i class="icon-folder-open icon-large"></i>{{ cat }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<li class="nav-header"><h4><i class="icon-folder-close icon-large"></i>Categories</h4></li>
|
||||
{% for cat, null in categories %}
|
||||
<li>
|
||||
<a href="{{ SITEURL }}/category/{{ cat }}.html">
|
||||
<a href="{{ SITEURL }}/{{ cat.url }}">
|
||||
<i class="icon-folder-open icon-large"></i>{{ cat }}
|
||||
</a>
|
||||
</li>
|
||||
@@ -28,7 +28,7 @@
|
||||
<li class="nav-header"><h4><i class="icon-tags icon-large"></i>Tags</h4></li>
|
||||
{% for tag in tag_cloud %}
|
||||
<li class="tag-{{ tag.1 }}">
|
||||
<a href="{{ SITEURL }}/tag/{{ tag.0 }}.html">
|
||||
<a href="{{ SITEURL }}/{{ tag.0.url }}">
|
||||
<i class="icon-tag icon-large"></i>{{ tag.0 }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<li class="nav-header"><h4><i class="icon-tags icon-large"></i>Tags</h4></li>
|
||||
{% for tag in tag_cloud %}
|
||||
<li class="tag-{{ tag.1 }}">
|
||||
<a href="{{ SITEURL }}/tag/{{ tag.0 }}.html">
|
||||
<a href="{{ SITEURL }}/{{ tag.0.url }}">
|
||||
<i class="icon-tag icon-large"></i>{{ tag.0 }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
<div id="content">
|
||||
<div class="post">
|
||||
<h2 class="title"><a href="{{ article.url }}">{{ article.title }}</a></h2>
|
||||
<p class="meta"><span class="date">Le {{ article.locale_date }} </span><span class="posted">Par <a href="#">{{ article.author }}</a></span><span> | Catégorie : <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a></span></p>
|
||||
<p class="meta"><span class="date">Le {{ article.locale_date }} </span><span class="posted">Par <a href="#">{{ article.author }}</a></span><span> | Catégorie : <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></span></p>
|
||||
<p class="meta">Tags : {% for tag in article.tags %}
|
||||
<span><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a> / </span>
|
||||
<span><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> / </span>
|
||||
{% endfor %}</p>
|
||||
<div style="clear: both;"> </div>
|
||||
<div class="entry">
|
||||
|
||||
@@ -50,7 +50,7 @@ Released : 20100928
|
||||
<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>
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
@@ -82,7 +82,7 @@ Released : 20100928
|
||||
<h2>Tags</h2>
|
||||
<ul>
|
||||
{% for tag, articles in tags %}
|
||||
<li><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a></li>
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
<div id="content">
|
||||
<div class="post">
|
||||
<h2 class="title"><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
|
||||
<p class="meta"><span class="date">Le {{ article.date.locale_date }} </span><span class="posted">Par <a href="#">{{ article.author }}</a></span><span> | Catégorie : <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a></span></p>
|
||||
<p class="meta"><span class="date">Le {{ article.date.locale_date }} </span><span class="posted">Par <a href="#">{{ article.author }}</a></span><span> | Catégorie : <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></span></p>
|
||||
<p class="meta">Tags : {% for tag in article.tags %}
|
||||
<span><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a> / </span>
|
||||
<span><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> / </span>
|
||||
{% endfor %}</p>
|
||||
<div style="clear: both;"> </div>
|
||||
<div class="entry">
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
</a>
|
||||
</h1>
|
||||
<div class="meta">
|
||||
Dans «<a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>»
|
||||
par <a href="{{ SITEURL }}/author/{{article.author}}.html">{{ article.author}}</a>
|
||||
Dans «<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>»
|
||||
par <a href="{{ SITEURL }}/{{article.author.url}}">{{ article.author}}</a>
|
||||
</div>
|
||||
</header>
|
||||
<div class="post-content">
|
||||
@@ -31,9 +31,9 @@
|
||||
</div>
|
||||
<footer class="post-footer">
|
||||
<div class="meta">
|
||||
Posté dans «<a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>»
|
||||
par <a href="{{ SITEURL }}/author/{{article.author}}.html">{{ article.author}}</a><br />
|
||||
Mots-clés: {% for tag in article.tags %} #<a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a>{% endfor %}
|
||||
Posté dans «<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>»
|
||||
par <a href="{{ SITEURL }}/{{article.author.url}}">{{ article.author}}</a><br />
|
||||
Mots-clés: {% for tag in article.tags %} #<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% endfor %}
|
||||
</div>
|
||||
</footer>
|
||||
{% if DISQUS_SITENAME %}
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
</a>
|
||||
</h1>
|
||||
<div class="meta">
|
||||
Dans «<a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>»
|
||||
par <a href="{{ SITEURL }}/author/{{article.author}}.html">{{ article.author}}</a>
|
||||
Dans «<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>»
|
||||
par <a href="{{ SITEURL }}/{{article.author.url}}">{{ article.author}}</a>
|
||||
</div>
|
||||
</header>
|
||||
<div class="post-content">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<h1>Mots-clés</h1>
|
||||
<ul id="tagslist">
|
||||
{% for tag in tag_cloud %}
|
||||
<li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/tag/{{ tag.0 }}.html">{{ tag.0 }}</a></li>
|
||||
<li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0 }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<details class="meta">
|
||||
Publié le <time datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ article.locale_date }}</time>
|
||||
{% if article.author %} par {{ article.author }}{% endif %} dans «<a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>».
|
||||
{% if article.tags %}Mots-clés: {% for tag in article.tags %}{%if loop.index > 1%}, {%endif%}<a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a>{% endfor %}</p>{% endif %}
|
||||
{% if article.author %} par {{ article.author }}{% endif %} dans «<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>».
|
||||
{% if article.tags %}Mots-clés: {% for tag in article.tags %}{%if loop.index > 1%}, {%endif%}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% endfor %}</p>{% endif %}
|
||||
</details>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<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>
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
@@ -16,7 +16,7 @@
|
||||
<h2>Mots-clés:</h2>
|
||||
<ul>
|
||||
{% for tag in article.tags %}
|
||||
<li><a href="{{SITEURL}}/tag/{{tag}}.html">{{ tag }}</a></li>
|
||||
<li><a href="{{SITEURL}}/{{tag.url}}">{{ tag }}</a></li>
|
||||
{% endfor %}
|
||||
<li><a class="more" href="{{SITEURL}}/tags.html">Plus...</a></li>
|
||||
</ul>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<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>
|
||||
<li><h3><a href="{{SITEURL}}/{{tag.url}}">{{ tag }}</a></h3></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
By <a class="url fn" href="#">{{ article.author }}</a>
|
||||
{% endif %}
|
||||
on <a>{{ article.date.locale_date }}</a>
|
||||
about <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>
|
||||
about <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
|
||||
</div>
|
||||
{{ article.content }}
|
||||
{% endblock %}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{% block content %}
|
||||
<ul>
|
||||
{% for category, articles in categories %}
|
||||
<li><a href="{{ SITEURL }}/category/{{ category }}.html">{{ category }}</a></li>
|
||||
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a>{% endfor %}</p>{% endif %}
|
||||
{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% endfor %}</p>{% endif %}
|
||||
{% if PDF_PROCESSOR %}<p><a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a></p>{% endif %}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{% block content %}
|
||||
<ul>
|
||||
{% for tag, articles in tags %}
|
||||
<li><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a></li>
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
Par <a class="url fn" href="#">{{ article.author }}</a>
|
||||
</address>
|
||||
{% endif %}
|
||||
<p>Dans <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>.
|
||||
<p>Dans <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>.
|
||||
{% include 'taglist.html' %}
|
||||
</footer><!-- /.post-info -->
|
||||
{{ article.content }}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{#{% for cat, null in categories %}
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}#}
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
@@ -51,7 +51,7 @@
|
||||
<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>
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
Par <a class="url fn" href="#">{{ article.author }}</a>
|
||||
</address>
|
||||
{% endif %}
|
||||
<p>Dans <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>. {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">télécharger le PDF</a>{% endif %}</p>
|
||||
<p>Dans <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>. {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">télécharger le PDF</a>{% endif %}</p>
|
||||
{% include 'taglist.html' %}
|
||||
</footer><!-- /.post-info -->
|
||||
{{ article.content }}
|
||||
@@ -43,7 +43,7 @@
|
||||
<address class="vcard author">
|
||||
Par <a class="url fn" href="#">{{ article.author }}</a>
|
||||
</address>
|
||||
<p> Dans <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a></p>
|
||||
<p> Dans <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></p>
|
||||
{% include 'taglist.html' %}
|
||||
<p>{% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">PDF</a>{% endif %}</p>
|
||||
</footer><!-- /.post-info -->
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a>{% endfor %}</p>{% endif %}
|
||||
{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% endfor %}</p>{% endif %}
|
||||
{% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">Télécharger le PDF</a>{% endif %}</p>
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
|
||||
{% if article.author %}
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="{{ SITEURL }}/author/{{ article.author }}.html">{{ article.author }}</a>
|
||||
By <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
|
||||
</address>
|
||||
{% endif %}
|
||||
<p>In <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>. {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a>{% endif %}</p>
|
||||
<p>In <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>. {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a>{% endif %}</p>
|
||||
{% include 'taglist.html' %}
|
||||
{% include 'translations.html' %}
|
||||
</footer><!-- /.post-info -->
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{#{% for cat, null in categories %}
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}#}
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
@@ -50,7 +50,7 @@
|
||||
<h2>Categories</h2>
|
||||
<ul>
|
||||
{% for cat, null in categories %}
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a>{% endfor %}</p>{% endif %}
|
||||
{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% endfor %}</p>{% endif %}
|
||||
{% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a>{% endif %}</p>
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
|
||||
{% if article.author %}
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="{{ SITEURL }}/author/{{ article.author }}.html">{{ article.author }}</a>
|
||||
By <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
|
||||
</address>
|
||||
{% endif %}
|
||||
<p>In <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>. {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a>{% endif %}</p>
|
||||
<p>In <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>. {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a>{% endif %}</p>
|
||||
{% include 'taglist.html' %}
|
||||
{{ translations.translate(article) }}
|
||||
</footer><!-- /.post-info -->
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% for cat, null in categories %}
|
||||
<li {% if cat == category and not article %}class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
|
||||
<li {% if cat == category and not article %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
{% for title, link in MENUITEMS %}
|
||||
<li><a href="{{ SITEURL }}/{{ link }}">{{ title }}</a></li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
{% if DISQUS_SITENAME %}<p>There are <a href="{{ SITEURL }}/{{ article.slug }}.html#disqus_thread">comments</a>.</p>{% endif %}
|
||||
{% if DISQUS_SITENAME %}<p>There are <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread">comments</a>.</p>{% endif %}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a>{% endfor %}</p>{% endif %}
|
||||
{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% endfor %}</p>{% endif %}
|
||||
{% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a>{% endif %}</p>
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
<h1 class="entry-title">Tags</h1>
|
||||
<ul id="cloud">
|
||||
{% for tag in tag_cloud %}
|
||||
<li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/tag/{{
|
||||
tag.0 }}.html">{{ tag.0 }}</a></li>
|
||||
<li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{
|
||||
tag.0.url }}">{{ tag.0 }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
</li>
|
||||
|
||||
{% for cat, null in categories %}
|
||||
<li><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
|
||||
<li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{% block content %}
|
||||
<ul>
|
||||
{% for category, articles in categories %}
|
||||
<li><a href="{{ SITEURL }}/category/{{ category }}.html">{{ category }}</li>
|
||||
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{{ article.date.strftime("%d %b %Y") }}
|
||||
|
||||
{% if article.author %}
|
||||
by <a class="url fn" href="{{ SITEURL }}/author/{{ article.author }}.html">{{ article.author }}</a>
|
||||
by <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
|
||||
{% endif %}
|
||||
|
||||
{# Filed under <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a> #}
|
||||
{# Filed under <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a> #}
|
||||
|
||||
{#
|
||||
{% if article.tags %}
|
||||
Tags {% for tag in article.tags %}<a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a> {% endfor %}
|
||||
Tags {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> {% endfor %}
|
||||
{% endif %}
|
||||
#}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{% block content %}
|
||||
<ul>
|
||||
{% for tag, articles in tags %}
|
||||
<li><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</li>
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
{{ article.content }}
|
||||
{% include 'twitter.html' %}
|
||||
|
||||
<h3 class="blogMeta">Par <a href="#">{{ article.author }}</a>, Catégorie : <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a></h3>
|
||||
<h3 class="blogMeta">Par <a href="#">{{ article.author }}</a>, Catégorie : <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></h3>
|
||||
<h3 class="blogMeta">Tags : {% for tag in article.tags %}
|
||||
<span><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a> / </span>
|
||||
<span><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> / </span>
|
||||
{% endfor %}</h3>
|
||||
|
||||
</div><!-- end #blogItem -->
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<h3>Categories</h3>
|
||||
<ul>
|
||||
{% for cat, null in categories %}
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% if LINKS %}
|
||||
@@ -84,7 +84,7 @@
|
||||
<h3>Tags</h3>
|
||||
<ul>
|
||||
{% for tag, articles in tags %}
|
||||
<li><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a></li>
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
{{ article.content }}
|
||||
|
||||
|
||||
<h3 class="blogMeta">Par <a href="#">{{ article.author }}</a>, Catégorie : <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a></h3>
|
||||
<h3 class="blogMeta">Par <a href="#">{{ article.author }}</a>, Catégorie : <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></h3>
|
||||
<h3 class="blogMeta">Tags : {% for tag in article.tags %}
|
||||
<span><a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a> / </span>
|
||||
<span><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> / </span>
|
||||
{% endfor %}</h3>
|
||||
|
||||
</div><!-- end #blogItem -->
|
||||
@@ -31,7 +31,7 @@
|
||||
<h3>Le {{ article.locale_date }}</h3>
|
||||
|
||||
{{ article.summary }}
|
||||
<h3 class="blogMeta">Par <a href="#">{{ article.author }}</a>, Catégorie : <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a></h3>
|
||||
<h3 class="blogMeta">Par <a href="#">{{ article.author }}</a>, Catégorie : <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></h3>
|
||||
<a href="{{ SITEURL }}/{{ article.url }}">Lire la suite …</a>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user