Added Nuggie preview support in blog_post (though I think the Nuggie patch itself is still waiting to be committed)
authorDan
Mon, 15 Dec 2008 22:44:47 -0500
changeset 11 0cb435515672
parent 10 1fdb801384f2
child 12 72dd1126dda2
Added Nuggie preview support in blog_post (though I think the Nuggie patch itself is still waiting to be committed)
connections/blog_post.tpl
--- a/connections/blog_post.tpl	Sat Dec 13 11:47:48 2008 -0500
+++ b/connections/blog_post.tpl	Mon Dec 15 22:44:47 2008 -0500
@@ -5,7 +5,7 @@
   <p class="post-date">{DATE_D} {DATE_j} {DATE_M} {DATE_Y}</p>
   <div class="post-info">
     <h2 class="post-title">
-      <a href="{PERMALINK}" rel="bookmark" title="Permanent link to this post">{POST_TITLE}</a>
+      <a href="{PERMALINK}" rel="bookmark" title="Permanent link to this post" onclick="if ( this.href == '#' || this.href == window.location.href + '#' ) return false;">{POST_TITLE}</a>
     </h2>
     Posted by {USER_LINK} on {TIMESTAMP}<br />
     <a href="{PERMALINK}#do:comments" onclick="ajaxComments();">{COMMENT_STRING}</a><!-- BEGIN auth_edit -->  |  <a href="{EDIT_LINK}">edit this post</a><!-- END auth_edit -->