File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 */
44import type { Child } from "hono/jsx" ;
55import { basePath , docPages , siteMetadata } from "../data/docs.ts" ;
6- import { themeInitScript } from "./scripts.ts" ;
6+ import { mainScript , themeInitScript } from "./scripts.ts" ;
77
88const GITHUB_URL = "https://github.com/jsr-probitas/probitas" ;
99
@@ -114,8 +114,6 @@ export function Layout(
114114 type = "application/ld+json"
115115 dangerouslySetInnerHTML = { { __html : JSON . stringify ( jsonLd ) } }
116116 />
117- < script src = { `${ CDN . hljs } /highlight.min.js` } />
118- < script src = { `${ CDN . hljs } /languages/typescript.min.js` } />
119117 < script dangerouslySetInnerHTML = { { __html : themeInitScript } } />
120118 </ head >
121119 < body >
@@ -126,6 +124,7 @@ export function Layout(
126124 < script src = { `${ basePath } /pagefind/pagefind-ui.js` } />
127125 < script dangerouslySetInnerHTML = { { __html : searchScript } } />
128126 < script dangerouslySetInnerHTML = { { __html : scrollToTopScript } } />
127+ < script dangerouslySetInnerHTML = { { __html : mainScript } } />
129128 </ body >
130129 </ html >
131130 ) ;
You can’t perform that action at this time.
0 commit comments