]> sipb.mit.edu Git - ikiwiki.git/blobdiff - templates/page.tmpl
* Hide excess backlinks and expand using CSS trick; control quantiy via
[ikiwiki.git] / templates / page.tmpl
index 471ed1a7d4236922f1f6e8815157571d2fe5df14..61d22723f0c2010bb31f7b67e96d68c595bda2c9 100644 (file)
@@ -73,6 +73,15 @@ Links:
 <TMPL_LOOP NAME="BACKLINKS">
 <a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>
 </TMPL_LOOP>
+<TMPL_IF NAME="MORE_BACKLINKS">
+<span class="popup">...
+<span class="expand">
+<TMPL_LOOP NAME="MORE_BACKLINKS">
+<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>
+</TMPL_LOOP>
+</span>
+</span>
+</TMPL_IF>
 </TMPL_IF>
 </div>