diff options
| author | Kyren223 <contact@kyren.codes> | 2026-10-10 05:55:33 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2026-10-10 05:55:33 +0300 |
| commit | 3c7f9700b91e60937f0ccfb5d036c1e670c00511 (patch) | |
| tree | 8781acecbd70d14ed83d111fa2233be8f3edc5da /website.templ | |
| parent | ba78128407cf2e2f0fec4ff9a709532d3c7735e9 (diff) | |
HTMX is our savior?
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... } |
