diff --git a/src/MyWebLog/Handlers/Helpers.fs b/src/MyWebLog/Handlers/Helpers.fs
index fda3f6d..1a37357 100644
--- a/src/MyWebLog/Handlers/Helpers.fs
+++ b/src/MyWebLog/Handlers/Helpers.fs
@@ -92,7 +92,6 @@ let private generateViewContext messages viewCtx (ctx: HttpContext) =
CurrentPage = ctx.Request.Path.Value[1..]
Messages = messages
Generator = ctx.Generator
- HtmxScript = htmxScript ctx.WebLog
IsAuthor = ctx.HasAccessLevel Author
IsEditor = ctx.HasAccessLevel Editor
IsWebLogAdmin = ctx.HasAccessLevel WebLogAdmin
diff --git a/src/MyWebLog/ViewContext.fs b/src/MyWebLog/ViewContext.fs
index ee85af6..01699eb 100644
--- a/src/MyWebLog/ViewContext.fs
+++ b/src/MyWebLog/ViewContext.fs
@@ -47,9 +47,6 @@ type AppViewContext = {
/// The content of a page (wrapped when rendering the layout)
Content: string
- /// A string to load the minified htmx script
- HtmxScript: string
-
/// Whether the current user is an author
IsAuthor: bool
@@ -117,7 +114,6 @@ type AppViewContext = {
Generator = ""
Payload = obj ()
Content = ""
- HtmxScript = ""
IsAuthor = false
IsEditor = false
IsWebLogAdmin = false