diff template/links.jade.mustache @ 21:8008ec2fd763

fix up link page reloading. tried davisjs; may not need it Ignore-this: d0021609f019f0734e779a61e3e73b62
author Drew Perttula <drewp@bigasterisk.com>
date Thu, 11 Jul 2013 00:45:55 -0700
parents a8887fb93676
children 7c82ffbca5d0
line wrap: on
line diff
--- a/template/links.jade.mustache	Sun Mar 17 01:03:43 2013 -0700
+++ b/template/links.jade.mustache	Thu Jul 11 00:45:55 2013 -0700
@@ -17,40 +17,11 @@
     
     | Filter to: 
     input#filterTag(type='hidden', style="width: 300px")
-    
-    {{#links}}
-    .link
-      h3
-        span.favicon(style="background-image: url(//www.google.com/s2/favicons?domain={{domain}})")
-        a(href="{{href}}") {{displayDescription}}
-      {{#extended}}
-      .notes
-        | {{extended}}
-      {{/extended}}
-      .tags
-        | Tags:
-        {{#tagWords}}
-        a.tag(href="{{toRoot}}/tag/{{word}}", title="add/remove this tag from the current filter") {{word}}
-        | 
-        {{/tagWords}}
-      .hrefShown
-        a(href="{{href}}") {{href}}
-      .modified
-        | Modified: {{t}}
-      {{#showPrivateData}}
-      .shareWith
-        | Share with:
-        {{#shareWith}}
-        span.person
-          | {{label}}
-        {{/shareWith}}
-      {{/showPrivateData}}
-      .edit
-        a(href="{{toRoot}}/{{editLink}}") Edit
-        
-    {{/links}}
 
-    p {{stats}}
+    .linklist
+      {{> linklist.jade}}
+
+    p.stats {{stats}}
     script
       var toRoot = "{{toRoot}}", user = "{{user}}";
     {{> tail.jade}}