feat: Add HTMX dependency

This commit is contained in:
overflowerror 2023-12-02 21:30:09 +01:00
parent 411491f7f5
commit 7312e6da5d
3 changed files with 5 additions and 0 deletions

3
bin/fetch-dependencies.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
wget -O "../html/static/libs/htmx.js" "https://unpkg.com/htmx.org@1.9.9"

1
html/static/libs/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.js

View file

@ -5,5 +5,6 @@
<?php echo $data["title"] ?? "drnk.me"; ?> <?php echo $data["title"] ?? "drnk.me"; ?>
</title> </title>
<link rel="stylesheet" href="/static/css/main.css"> <link rel="stylesheet" href="/static/css/main.css">
<script src="/static/libs/htmx.js"></script>
</head> </head>
<body> <body>