File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change
1
+ <!-- sets correct theme on page refresh -->
2
+ < script src ="/static/js/docs-theme-change.js "> </ script >
3
+
1
4
< meta charset ="utf-8 " />
2
5
< meta name ="viewport " content ="width=device-width, initial-scale=1 " />
3
6
< link href ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css " rel ="stylesheet " crossorigin ="anonymous " />
4
7
< link rel ="stylesheet " href ="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.13.1/build/styles/tomorrow-night-eighties.min.css " />
5
8
< link rel ="stylesheet " href ="/static/docs.css " />
6
9
< link rel ="shortcut icon " type ="image/png " href ="/static/images/dbciconwhite16.png " />
7
10
< link rel ="stylesheet " href ="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css " />
8
-
9
- <!-- sets correct theme on page refresh -->
10
- < script >
11
- dbcdStoredTheme = localStorage . getItem ( 'theme' )
12
- document . documentElement . setAttribute ( 'data-bs-theme' , dbcdStoredTheme )
13
- </ script >
Original file line number Diff line number Diff line change 1
1
< script src ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js " crossorigin ="anonymous "> </ script >
2
2
< script src ="/static/js/highlight.min.js "> </ script >
3
- < script src ="/static/js/docs-theme-change.js "> </ script >
4
3
< script >
5
4
hljs . configure ( { ignoreUnescapedHTML : true } )
6
5
hljs . highlightAll ( )
You can’t perform that action at this time.
0 commit comments