File tree 1 file changed +18
-3
lines changed
1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,25 @@ block content
37
37
38
38
if (concepts)
39
39
table.table.table-bordered.table-condensed
40
- - for (var i = 0 ; i < concepts .length ; i++ )
40
+ - for (var i = 0 ; i < concepts .length ; i += 5 )
41
41
tr
42
- td
43
- a( href ="/knowledge/concept/#{concepts[i].subject } " ) = concepts[i].subject
42
+ - if (concepts[i])
43
+ td
44
+ a( href ="/knowledge/concept/#{concepts[i].subject } " ) = concepts[i].subject
45
+ - if (concepts[i+ 1 ])
46
+ td
47
+ a( href ="/knowledge/concept/#{concepts[i+ 1 ].subject } " ) = concepts[i+ 1 ].subject
48
+ - if (concepts[i+ 2 ])
49
+ td
50
+ a( href ="/knowledge/concept/#{concepts[i+ 2 ].subject } " ) = concepts[i+ 2 ].subject
51
+ - if (concepts[i+ 3 ])
52
+ td
53
+ a( href ="/knowledge/concept/#{concepts[i+ 3 ].subject } " ) = concepts[i+ 3 ].subject
54
+ - if (concepts[i+ 4 ])
55
+ td
56
+ a( href ="/knowledge/concept/#{concepts[i+ 4 ].subject } " ) = concepts[i+ 4 ].subject
57
+
58
+
44
59
45
60
script .
46
61
$ (' #datafile' ).change (function () {
You can’t perform that action at this time.
0 commit comments