Friday, September 15, 2006

Showing number of backlinks on footer

This hack shows the number of backlinks in your footer.

This hack is similar to the comments-hack I explained earlier.

Look for the backlinks-part of the posts, and add the red code.

<!-- backlinks -->
<span class='post-backlinks post-comment-link'>
<b:if cond='data:blog.pageType != "item"'>
<b:if cond='data:post.showBacklinks'>
<a class='comment-link' expr:href='data:post.url + "#links"' title='Check out who is linking to this post'>
<b:if cond='data:post.numBacklinks == 1'>1 Backlink
<b:if cond='data:post.numBacklinks == 0'>
No <data:top.backlinkLabel/>
<data:post.numBacklinks/> <data:top.backlinkLabel/>