diff options
Diffstat (limited to 'website.templ')
| -rw-r--r-- | website.templ | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/website.templ b/website.templ index e95c074..7df619d 100644 --- a/website.templ +++ b/website.templ @@ -26,6 +26,7 @@ templ HeadComponent(title string, description string) { <script src="/public/footnotes.js" defer></script> <link rel="preload" href="/public/styles/style.css" as="style"/> <link rel="stylesheet" href="/public/styles/style.css"/> + <script src="https://unpkg.com/htmx.org@1.9.10" defer></script> { children... } </head> } @@ -159,7 +160,7 @@ templ TerminalLayout(style Style, path string) { <!DOCTYPE html> <html lang="en" style={ styleToCss(style) }> @HeadComponent(path, "My personal website") - <body> + <body hx-boost="true"> <main class="flex flex-col w-[75rem] h-[40rem] p-8 border-[0.2rem] border-(--text) overflow-hidden text-[1.125rem]"> @Nav(path) { children... } |
