Display comments number on all type of index (category, tag, archive...)

This commit is contained in:
Gregory Soutade 2014-09-24 20:26:03 +02:00
parent c0318ae208
commit 5e1007e7da
5 changed files with 22 additions and 4 deletions

View File

@ -14,7 +14,7 @@
</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>
<dyn:replace div_name="a" class="comments_link" href="dyn:post_url#comments"><dyn:comments_count/> commentaire(s)</dyn:replace> <dyn:replace div_name="a" href="http://dyn:post_full_url">permalink</dyn:replace>
</footer>
</article>
</dyn:posts>

View File

@ -14,7 +14,7 @@
</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>
<dyn:replace div_name="a" class="comments_link" href="dyn:post_url#comments"><dyn:comments_count/> commentaire(s)</dyn:replace> <dyn:replace div_name="a" href="http://dyn:post_full_url">permalink</dyn:replace>
</footer>
</article>
</dyn:posts>

View File

@ -1,5 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<ljdc>
<entry>
<id>94165641267</id>
<address>http://thecodinglove.com/post/94165641267/when-the-boss-is-not-around-on-friday-night</address>
<title>when the boss is not around on friday night</title>
<img>http://i.imgur.com/DZBuoIt.gif</img>
</entry>
<entry>
<id>93881928426</id>
<address>http://thecodinglove.com/post/93881928426/when-i-forgot-and-ending-condition-in-my-while-loop</address>
<title>when I forgot and ending condition in my while loop</title>
<img>http://ljdchost.com/XhFmRb0.gif</img>
</entry>
<entry>
<id>93383747099</id>
<address>http://thecodinglove.com/post/93383747099/when-the-app-wont-stop</address>
<title>when the app won't stop</title>
<img>http://ljdchost.com/yszCN0J.gif</img>
</entry>
<entry>
<id>91956775613</id>
<address>http://thecodinglove.com/post/91956775613/when-the-boss-is-on-holidays</address>

View File

@ -13,7 +13,7 @@
</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>
<dyn:replace div_name="a" class="comments_link" href="dyn:post_url#comments"><dyn:comments_count/> commentaire(s)</dyn:replace> <dyn:replace div_name="a" href="http://dyn:post_full_url">permalink</dyn:replace>
</footer>
</article>
</dyn:posts>

View File

@ -14,7 +14,7 @@
</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>
<dyn:replace div_name="a" class="comments_link" href="dyn:post_url#comments"><dyn:comments_count/> commentaire(s)</dyn:replace> <dyn:replace div_name="a" href="http://dyn:post_full_url">permalink</dyn:replace>
</footer>
</article>
</dyn:posts>