diff --git a/.gitignore b/.gitignore index 6dafe4f..364fdec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -public/**/*.html -public/**/*.webp +public/ diff --git a/flake.nix b/flake.nix index 68e00d9..6e31748 100644 --- a/flake.nix +++ b/flake.nix @@ -22,6 +22,9 @@ type = "app"; program = toString (pkgs.writeShellScript "serve" '' set -x + rm -r public/ + cp -r static/ public/ + go run main.go ${pkgs.tailwindcss}/bin/tailwindcss -i input.css -o public/css/tailwind.css ${pkgs.caddy}/bin/caddy run --config Caddyfile ''); diff --git a/public/.well-known/keybase.txt b/static/.well-known/keybase.txt similarity index 100% rename from public/.well-known/keybase.txt rename to static/.well-known/keybase.txt diff --git a/public/.well-known/nostr.json b/static/.well-known/nostr.json similarity index 100% rename from public/.well-known/nostr.json rename to static/.well-known/nostr.json diff --git a/public/css/footer.css b/static/css/footer.css similarity index 100% rename from public/css/footer.css rename to static/css/footer.css diff --git a/public/css/post.css b/static/css/post.css similarity index 100% rename from public/css/post.css rename to static/css/post.css diff --git a/public/css/tailwind.css b/static/css/tailwind.css similarity index 100% rename from public/css/tailwind.css rename to static/css/tailwind.css diff --git a/public/favicon.ico b/static/favicon.ico similarity index 100% rename from public/favicon.ico rename to static/favicon.ico diff --git a/public/fonts/Roboto/roboto-v30-latin-regular.eot b/static/fonts/Roboto/roboto-v30-latin-regular.eot similarity index 100% rename from public/fonts/Roboto/roboto-v30-latin-regular.eot rename to static/fonts/Roboto/roboto-v30-latin-regular.eot diff --git a/public/fonts/Roboto/roboto-v30-latin-regular.svg b/static/fonts/Roboto/roboto-v30-latin-regular.svg similarity index 100% rename from public/fonts/Roboto/roboto-v30-latin-regular.svg rename to static/fonts/Roboto/roboto-v30-latin-regular.svg diff --git a/public/fonts/Roboto/roboto-v30-latin-regular.ttf b/static/fonts/Roboto/roboto-v30-latin-regular.ttf similarity index 100% rename from public/fonts/Roboto/roboto-v30-latin-regular.ttf rename to static/fonts/Roboto/roboto-v30-latin-regular.ttf diff --git a/public/fonts/Roboto/roboto-v30-latin-regular.woff b/static/fonts/Roboto/roboto-v30-latin-regular.woff similarity index 100% rename from public/fonts/Roboto/roboto-v30-latin-regular.woff rename to static/fonts/Roboto/roboto-v30-latin-regular.woff diff --git a/public/fonts/Roboto/roboto-v30-latin-regular.woff2 b/static/fonts/Roboto/roboto-v30-latin-regular.woff2 similarity index 100% rename from public/fonts/Roboto/roboto-v30-latin-regular.woff2 rename to static/fonts/Roboto/roboto-v30-latin-regular.woff2 diff --git a/public/fonts/slant.flf b/static/fonts/slant.flf similarity index 100% rename from public/fonts/slant.flf rename to static/fonts/slant.flf diff --git a/public/pgp.txt b/static/pgp.txt similarity index 100% rename from public/pgp.txt rename to static/pgp.txt diff --git a/public/tailwind.css b/static/tailwind.css similarity index 100% rename from public/tailwind.css rename to static/tailwind.css