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
22doctype html
33include ../_partials/banner.pug
44include ../_mixins/breadcrumb.pug
Original file line number Diff line number Diff line change 11mixin example(url )
2- - var id = Math .floor (Math .random () * (15 - 1300 ) + 1300 )
3-
2+
43 .example
54 ul.nav.nav-tabs ( role ="tablist" )
65 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" )
87 svg.icon.me-2
98 use( xlink:href ="node_modules/@coreui/icons/sprites/free.svg#cil-media-play" )
109 |
@@ -17,5 +16,5 @@ mixin example(url)
1716 |
1817 | Code
1918 .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 ++ )
2120 block
You can’t perform that action at this time.
0 commit comments