From 7312e6da5d7740198703bf0a5cd21355e7da9635 Mon Sep 17 00:00:00 2001 From: overflowerror Date: Sat, 2 Dec 2023 21:30:09 +0100 Subject: [PATCH] feat: Add HTMX dependency --- bin/fetch-dependencies.sh | 3 +++ html/static/libs/.gitignore | 1 + templates/layout/top.php | 1 + 3 files changed, 5 insertions(+) create mode 100755 bin/fetch-dependencies.sh create mode 100644 html/static/libs/.gitignore diff --git a/bin/fetch-dependencies.sh b/bin/fetch-dependencies.sh new file mode 100755 index 0000000..141f456 --- /dev/null +++ b/bin/fetch-dependencies.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +wget -O "../html/static/libs/htmx.js" "https://unpkg.com/htmx.org@1.9.9" \ No newline at end of file diff --git a/html/static/libs/.gitignore b/html/static/libs/.gitignore new file mode 100644 index 0000000..4c43fe6 --- /dev/null +++ b/html/static/libs/.gitignore @@ -0,0 +1 @@ +*.js \ No newline at end of file diff --git a/templates/layout/top.php b/templates/layout/top.php index 0e53530..6cedb99 100644 --- a/templates/layout/top.php +++ b/templates/layout/top.php @@ -5,5 +5,6 @@ +