aboutsummaryrefslogtreecommitdiffstats
path: root/dev-random/templates
diff options
context:
space:
mode:
authorm-r-r <raybaudroigm@gmail.com>2012-06-09 18:51:54 +0200
committerm-r-r <raybaudroigm@gmail.com>2012-06-09 18:51:54 +0200
commit2950b6abdad62fdd74682880acdec32f9b417420 (patch)
treed943a2c87f93674783224b8a5e2bd836261c9ad5 /dev-random/templates
parentf9c20b4a00027b0e34e7f88069ce6c7e21eb8b37 (diff)
downloadpelican-themes-2950b6abdad62fdd74682880acdec32f9b417420.tar.gz
[dev-random] corrected url bugs
Diffstat (limited to 'dev-random/templates')
-rw-r--r--dev-random/templates/article.html10
-rw-r--r--dev-random/templates/index.html4
2 files changed, 7 insertions, 7 deletions
diff --git a/dev-random/templates/article.html b/dev-random/templates/article.html
index 827698f..7255fbc 100644
--- a/dev-random/templates/article.html
+++ b/dev-random/templates/article.html
@@ -23,8 +23,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>
{% if article.translations %}
&nbsp;&nbsp; Langues:
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.lang or DEFAULT_LANG }}</a>
@@ -39,9 +39,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 %}
diff --git a/dev-random/templates/index.html b/dev-random/templates/index.html
index c098ddc..0c27024 100644
--- a/dev-random/templates/index.html
+++ b/dev-random/templates/index.html
@@ -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>
{% if article.translations %}
&nbsp;&nbsp; Langues:
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.lang or DEFAULT_LANG }}</a>