From bfc56fffcfd1edd11af1c926fccb90cfe9c871b5 Mon Sep 17 00:00:00 2001 From: atridadl Date: Sat, 3 Feb 2024 00:03:57 -0700 Subject: [PATCH] Made HTMX non-blocking --- pages/templates/blog.html | 3 +++ pages/templates/home.html | 3 +++ pages/templates/layouts/base.html | 1 + pages/templates/post.html | 3 +++ pages/templates/ssedemo.html | 7 +++++-- 5 files changed, 15 insertions(+), 2 deletions(-) diff --git a/pages/templates/blog.html b/pages/templates/blog.html index 3a3c8d4..1a02a32 100644 --- a/pages/templates/blog.html +++ b/pages/templates/blog.html @@ -16,3 +16,6 @@ GOTH // Blog {{end}} {{end}} + +{{define "foot"}} +{{end}} diff --git a/pages/templates/home.html b/pages/templates/home.html index 66e8885..70febda 100644 --- a/pages/templates/home.html +++ b/pages/templates/home.html @@ -49,3 +49,6 @@ GOTH // Home {{end}} + +{{define "foot"}} +{{end}} \ No newline at end of file diff --git a/pages/templates/layouts/base.html b/pages/templates/layouts/base.html index 973d49b..b9dfcda 100644 --- a/pages/templates/layouts/base.html +++ b/pages/templates/layouts/base.html @@ -17,6 +17,7 @@
{{template "main" .}}
+ {{template "foot" .}} {{end}} \ No newline at end of file diff --git a/pages/templates/post.html b/pages/templates/post.html index 8166152..d846ad4 100644 --- a/pages/templates/post.html +++ b/pages/templates/post.html @@ -12,3 +12,6 @@ GOTH // Post {{define "main"}} {{.Content}} {{end}} + +{{define "foot"}} +{{end}} \ No newline at end of file diff --git a/pages/templates/ssedemo.html b/pages/templates/ssedemo.html index 31ccbe3..1dec759 100644 --- a/pages/templates/ssedemo.html +++ b/pages/templates/ssedemo.html @@ -5,8 +5,6 @@ GOTH // SSE
DEMO
{{end}} {{define "head"}} - - {{end}} {{define "main"}} @@ -27,3 +25,8 @@ GOTH // SSE
DEMO
{{end}} + +{{define "foot"}} + + +{{end}} \ No newline at end of file