File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
- - var static = true
1
+ - var count = 1000
2
2
doctype html
3
3
include ../_partials/banner.pug
4
4
include ../_mixins/breadcrumb.pug
Original file line number Diff line number Diff line change 1
1
mixin example(url )
2
- - var id = Math .floor (Math .random () * (15 - 1300 ) + 1300 )
3
-
2
+
4
3
.example
5
4
ul.nav.nav-tabs ( role ="tablist" )
6
5
li.nav-item
7
- a.nav-link.active ( data-coreui-toggle ="tab" href ="#preview-" + id role ="tab" )
6
+ a.nav-link.active ( data-coreui-toggle ="tab" href ="#preview-" + count role ="tab" )
8
7
svg.icon.me-2
9
8
use( xlink:href ="node_modules/@coreui/icons/sprites/free.svg#cil-media-play" )
10
9
|
@@ -17,5 +16,5 @@ mixin example(url)
17
16
|
18
17
| Code
19
18
.tab-content.rounded-bottom
20
- .tab-pane.p-3.active.preview ( role ="tabpanel" id ="preview-" + id )
19
+ .tab-pane.p-3.active.preview ( role ="tabpanel" id ="preview-" + count ++ )
21
20
block
You can’t perform that action at this time.
0 commit comments