Migrate to LFTP deployment and improve templates

- Add `deploy-lftp` command
- Add 404 page
- Change relative links to absolute links
- Fix pagination links
- Remove drafts from Pagefind indexing
- Fix OpenGraph descriptions for i18n
- Add Commissioners and Requesters components
- Add consistent type-checking for getStaticPaths
This commit is contained in:
Bad Manners 2024-06-16 19:24:25 -03:00
parent 837433364d
commit a9d5a88d0e
26 changed files with 254 additions and 70 deletions

View file

@ -1,7 +1,7 @@
{
"name": "gallery-badmanners-xyz",
"type": "module",
"version": "1.3.1",
"version": "1.4.0",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
@ -9,6 +9,7 @@
"preview": "astro preview",
"astro": "astro",
"prettier": "prettier . --write",
"deploy-lftp": "dotenv ./deploy_lftp.sh",
"export-story": "tsx scripts/export-story.ts"
},
"dependencies": {
@ -30,6 +31,7 @@
},
"devDependencies": {
"commander": "^12.0.0",
"dotenv-cli": "^7.4.2",
"fetch-retry": "^6.0.0",
"prettier": "^3.2.5",
"prettier-plugin-astro": "^0.13.0",