|
37 | 37 | <meta name="loc:changeTheme" content="{{__global.changeTheme}}"> |
38 | 38 | <meta name="loc:copy" content="{{__global.copy}}"> |
39 | 39 | <meta name="loc:downloadPdf" content="{{__global.downloadPdf}}"> |
40 | | - {{/redirect_url}} |
41 | | - </head> |
42 | 40 |
|
43 | | - {{^redirect_url}} |
44 | | - <script type="module" src="./{{_rel}}public/docfx.min.js"></script> |
| 41 | + <script type="module" src="./{{_rel}}public/docfx.min.js"></script> |
45 | 42 |
|
46 | | - <script> |
47 | | - const theme = localStorage.getItem('theme') || 'auto' |
48 | | - document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) |
49 | | - </script> |
| 43 | + <script> |
| 44 | + const theme = localStorage.getItem('theme') || 'auto' |
| 45 | + document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) |
| 46 | + </script> |
50 | 47 |
|
51 | | - {{#_googleAnalyticsTagId}} |
52 | | - <script async src="https://www.googletagmanager.com/gtag/js?id={{_googleAnalyticsTagId}}"></script> |
53 | | - <script> |
54 | | - window.dataLayer = window.dataLayer || []; |
55 | | - function gtag() { dataLayer.push(arguments); } |
56 | | - gtag('js', new Date()); |
57 | | - gtag('config', '{{_googleAnalyticsTagId}}'); |
58 | | - </script> |
59 | | - {{/_googleAnalyticsTagId}} |
| 48 | + {{#_googleAnalyticsTagId}} |
| 49 | + <script async src="https://www.googletagmanager.com/gtag/js?id={{_googleAnalyticsTagId}}"></script> |
| 50 | + <script> |
| 51 | + window.dataLayer = window.dataLayer || []; |
| 52 | + function gtag() { dataLayer.push(arguments); } |
| 53 | + gtag('js', new Date()); |
| 54 | + gtag('config', '{{_googleAnalyticsTagId}}'); |
| 55 | + </script> |
| 56 | + {{/_googleAnalyticsTagId}} |
| 57 | + {{/redirect_url}} |
| 58 | + </head> |
60 | 59 |
|
| 60 | + {{^redirect_url}} |
61 | 61 | <body class="tex2jax_ignore" data-layout="{{_layout}}{{layout}}" data-yaml-mime="{{yamlmime}}"> |
62 | 62 | <header class="bg-body border-bottom"> |
63 | 63 | {{^_disableNavbar}} |
|
0 commit comments