diff --git a/.gitignore b/.gitignore index f39d48f..9a7a2ee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ /.astro/ /.env -/.ssh/ /dist/ node_modules/ diff --git a/Makefile b/Makefile index 992d47f..65545d4 100644 --- a/Makefile +++ b/Makefile @@ -6,14 +6,10 @@ revcount := $(shell git rev-list --count HEAD) all: env build deploy build: - npm run build - -force-build: npm run force-build deploy: - #rsync -vaAExh --delete dist/ aries:/www/hosted/bashelton.com/public_html/sundays/ - rsync -e "ssh -i .ssh/deploy_ecdsa" -vaAExh --delete dist/ justus@aries:/www/hosted/itsjustus.faith/public_html/ + rsync -vaAExh --delete dist/ aries:/www/hosted/bashelton.com/public_html/sundays/ env: echo "REVISION='$(revision)'" > .env diff --git a/astro.config.mjs b/astro.config.mjs index 0c54eb0..2d44d77 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -8,13 +8,12 @@ import { ScriptureLinks } from './src/utils/rehype'; import icon from 'astro-icon'; -import sitemap from "@astrojs/sitemap"; - // https://astro.build/config export default defineConfig({ + base: "/sundays", trailingSlash: "always", - site: "https://itsjustus.faith", - integrations: [mdx(), icon(), sitemap()], + site: "https://bashelton.com", + integrations: [mdx(), icon()], markdown: { processor: unified({ remarkPlugins: [remarkToc], diff --git a/package-lock.json b/package-lock.json index 7f152f5..12d6aba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,6 @@ "dependencies": { "@astrojs/markdown-remark": "^7.3.5", "@astrojs/mdx": "^8.1.2", - "@astrojs/rss": "^4.0.20", - "@astrojs/sitemap": "^3.7.7", "@fontsource/atkinson-hyperlegible": "^5.3.0", "@fontsource/lexend": "^5.3.0", "@fontsource/opendyslexic": "^5.3.0", @@ -19,7 +17,6 @@ "astro": "^7.4.5", "astro-icon": "^1.1.5", "remark-toc": "^9.0.0", - "sanitize-html": "^2.18.2", "tailwindcss": "^4.3.0" }, "engines": { @@ -358,27 +355,6 @@ "node": ">=22.23.4" } }, - "node_modules/@astrojs/rss": { - "version": "4.0.20", - "resolved": "https://registry.npmjs.org/@astrojs/rss/-/rss-4.0.20.tgz", - "integrity": "sha512-sCVmRCW0JabcHFx0K7KI/FTik9RRDpJUimOtJgW1YC0A6sHCIk572PcUkadVlm50IRtu8zWSvZ8ik/4rvilyEg==", - "license": "MIT", - "dependencies": { - "fast-xml-parser": "^5.12.1", - "piccolore": "^0.1.3", - "zod": "^4.6.7" - } - }, - "node_modules/@astrojs/sitemap": { - "version": "3.7.7", - "resolved": "https://registry.npmjs.org/@astrojs/sitemap/-/sitemap-3.7.7.tgz", - "integrity": "sha512-77P0VjOBTMG1wi0IfpauhoC6R05EBgPtST6V/5SBeml+UrZyn1Lip49exxIvmKSGtA+YNkmipjsezdb46fdpfQ==", - "license": "MIT", - "dependencies": { - "sitemap": "^10.0.0", - "zod": "^4.6.7" - } - }, "node_modules/@astrojs/telemetry": { "version": "3.4.2", "resolved": "https://registry.npmjs.org/@astrojs/telemetry/-/telemetry-3.4.2.tgz", @@ -1459,18 +1435,6 @@ "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.4" } }, - "node_modules/@nodable/entities": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@nodable/entities/-/entities-3.1.0.tgz", - "integrity": "sha512-LsS/DjHr+uDM647Gru/cA8+J3a3HfhttwCKLyuoyN7yXTFCxKBtSgMQBvrW9yNPa2/zDRUNuGPaH5QUFoa4arQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/nodable" - } - ], - "license": "MIT" - }, "node_modules/@oslojs/encoding": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@oslojs/encoding/-/encoding-1.1.0.tgz", @@ -2197,19 +2161,11 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-26.2.0.tgz", "integrity": "sha512-5IviulTZeRNp2vAJ514cc/HUlY5nZ9fCbq9DMyC52BrhFZACo3nI0R7qBxhQmo/d27NFe96ur/b7Wwxklda+kg==", "license": "MIT", + "optional": true, "dependencies": { "undici-types": "~8.3.0" } }, - "node_modules/@types/sax": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/@types/sax/-/sax-1.2.7.tgz", - "integrity": "sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A==", - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/ungap__structured-clone": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@types/ungap__structured-clone/-/ungap__structured-clone-1.2.0.tgz", @@ -2296,18 +2252,6 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/anynum": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/anynum/-/anynum-1.0.1.tgz", - "integrity": "sha512-N6//FLET/tXYNM/F6ABca1oH6fWB+KlTt909Le28WMDBk8oaT4vY17DCrwg2MvmuqUKt3Ni4N5dGJ/EoBgcO6A==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT" - }, "node_modules/aria-query": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz", @@ -2759,12 +2703,6 @@ "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==", "license": "CC0-1.0" }, - "node_modules/dayjs": { - "version": "1.11.23", - "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.23.tgz", - "integrity": "sha512-QDTCU0M0MxR3hQfnlDJfwekQiaanm1ubOD231u73WBckQ/fsamwRLiE2GBz6D3a/xF1NgfiDLJjXBa1hYOYTtQ==", - "license": "MIT" - }, "node_modules/debug": { "version": "4.4.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", @@ -3182,45 +3120,6 @@ "fast-string-width": "^3.0.2" } }, - "node_modules/fast-xml-builder": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.3.2.tgz", - "integrity": "sha512-OX91VSlShLPDgRZV7tk/YQ4l8tT75QziF5Ixg8g4PFbCVPjuTWwN+yQfAxLJ0dufJpprdOd6HlM74Jhd39TcBQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "dependencies": { - "path-expression-matcher": "^1.6.2", - "xml-naming": "^0.3.0" - } - }, - "node_modules/fast-xml-parser": { - "version": "5.12.1", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.12.1.tgz", - "integrity": "sha512-wR8dO/fx+z8C5exuem1e7BKOWvjsuzvjS/tvA/Xu3Z1zQqJGcXrPzXbcAiaMgp2KjreEROcTkmnnisrcmJ2hYQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "dependencies": { - "@nodable/entities": "^3.1.0", - "fast-xml-builder": "^1.3.2", - "is-unsafe": "^2.0.3", - "path-expression-matcher": "^1.6.2", - "strnum": "^2.5.1", - "xml-naming": "^0.3.0" - }, - "bin": { - "fxparser": "src/cli/cli.js" - } - }, "node_modules/fd-slicer": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", @@ -3751,27 +3650,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-plain-object": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.1.0.tgz", - "integrity": "sha512-bUi/yjmtKYcRVUtWRGr0UA6xEFh2I6zWUwMrUXB3s7bmYCaZ8a+0ZsTRkrawh/mzlSD1Y0Ph8bp/U+TvBpWDNw==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-unsafe": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-unsafe/-/is-unsafe-2.0.3.tgz", - "integrity": "sha512-ZBllczCCO267vgdFb6Tq3pv+LhHaCiGMdr+ZsuL+OopruAg7S+3ZDs1vD0RPC0uSrkjzbraxaGjtX1YBxjPeFQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT" - }, "node_modules/jiti": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz", @@ -3793,15 +3671,6 @@ "integrity": "sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==", "license": "MIT" }, - "node_modules/launder": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/launder/-/launder-1.7.2.tgz", - "integrity": "sha512-DLg3HPnHUfBi5/MxMLmJD12dmlMpFEC2HgMW6vkZ/9JR0RU00kXoRGvDxAvFmdO0o610OA77i4FgNTLucmhDVg==", - "license": "MIT", - "dependencies": { - "dayjs": "^1.11.23" - } - }, "node_modules/lightningcss": { "version": "1.32.0", "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", @@ -5488,12 +5357,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/parse-srcset": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/parse-srcset/-/parse-srcset-1.0.2.tgz", - "integrity": "sha512-/2qh0lav6CmI15FzA3i/2Bzk2zCgQhGMkvhOhKNcBVQ1ldgpbfiNTVslmooUmWJcADi1f1kIeynbDRVzNlfR6Q==", - "license": "MIT" - }, "node_modules/parse5": { "version": "7.3.0", "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", @@ -5531,21 +5394,6 @@ "url": "https://github.com/inikulin/parse5?sponsor=1" } }, - "node_modules/path-expression-matcher": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.6.2.tgz", - "integrity": "sha512-enSlaiat05iasnzmgNxRj8reFdj3puY2QpNgP1aPIaVfT6nn9ICuPoFlKHk8EN22HcwewshO+mN2DGbkCEOtqQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/pathe": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", @@ -6048,148 +5896,6 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "license": "MIT" }, - "node_modules/sanitize-html": { - "version": "2.18.2", - "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.18.2.tgz", - "integrity": "sha512-LTQVNHBeKB5qIae9x2J2Fw68ORnES++8vzYaG7DFT8P4GVCJFeHffHnRUzf5Mrxfx+4GweIvMRqkBPHHodaVNg==", - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^4.0.0", - "htmlparser2": "^12.0.0", - "is-plain-object": "^5.1.0", - "launder": "^1.7.2", - "parse-srcset": "^1.0.2", - "postcss": "^8.5.27" - }, - "engines": { - "node": ">=22.12.0" - } - }, - "node_modules/sanitize-html/node_modules/dom-serializer": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-3.2.0.tgz", - "integrity": "sha512-qSwy2wBIDAEcElArdIvo2TIarfWJuyKrtmNFPQ43l3ADeEdvXxTcmjFKb+Xw+1ryolATMQLCsecVnypTnFeHKg==", - "license": "MIT", - "dependencies": { - "domelementtype": "^3.0.0", - "domhandler": "^6.0.0", - "entities": "^9.0.0" - }, - "engines": { - "node": ">=20.19.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" - } - }, - "node_modules/sanitize-html/node_modules/dom-serializer/node_modules/entities": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-9.0.0.tgz", - "integrity": "sha512-oJFNDJg3kTPwAD1cNn2+WmUq4wFoo09npc3Ydf1D7ED4smRiWrsKnaLxykrTWgyGEcusc87P5dxlAleol9kpkg==", - "license": "BSD-2-Clause", - "engines": { - "node": ">=20.19.0" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/sanitize-html/node_modules/domelementtype": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-3.0.0.tgz", - "integrity": "sha512-umCQid3jKbDmVjx8jGaW7uUykm4DEUeyV21hPxNMo2nV955DhUThwqyOIDtreepP31hl84X7G5U9ZfsWvIB3Pg==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "license": "BSD-2-Clause", - "engines": { - "node": ">=20.19.0" - } - }, - "node_modules/sanitize-html/node_modules/domhandler": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-6.0.1.tgz", - "integrity": "sha512-gYzvtM72ZtxQO0T048kd6HWSbbGCNOUwcnfQ01cqIJ4X2IYKFFHZ5mKvrQETcFXxsRObZulDaKmy//R7TPtsBg==", - "license": "BSD-2-Clause", - "dependencies": { - "domelementtype": "^3.0.0" - }, - "engines": { - "node": ">=20.19.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/fb55/domhandler?sponsor=1" - } - }, - "node_modules/sanitize-html/node_modules/domutils": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-4.1.2.tgz", - "integrity": "sha512-oSgrKh9KaGyxAsJSThQksmgAExC1H+pns6jiR63KYshmOIO96L5mt77RwcjsVT9SyRH/AyjLOVqORK49HQ+XAg==", - "license": "BSD-2-Clause", - "dependencies": { - "dom-serializer": "^3.2.0", - "domelementtype": "^3.0.0", - "domhandler": "^6.0.0" - }, - "engines": { - "node": ">=20.19.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/fb55/domutils?sponsor=1" - } - }, - "node_modules/sanitize-html/node_modules/entities": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-8.1.0.tgz", - "integrity": "sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==", - "license": "BSD-2-Clause", - "engines": { - "node": ">=20.19.0" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/sanitize-html/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/sanitize-html/node_modules/htmlparser2": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-12.0.0.tgz", - "integrity": "sha512-Tz7u1i95/g2x2jz81+x0FBVhBhY5aRTvD3tXXdFaljuNdzDLJ8UGNRrTcj2cgQvAg3iW/h77Fz15nLW0L0CrZw==", - "funding": [ - "https://github.com/fb55/htmlparser2?sponsor=1", - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "license": "MIT", - "dependencies": { - "domelementtype": "^3.0.0", - "domhandler": "^6.0.0", - "domutils": "^4.0.2", - "entities": "^8.0.0" - }, - "engines": { - "node": ">=20.19.0" - } - }, "node_modules/satteri": { "version": "0.10.5", "resolved": "https://registry.npmjs.org/satteri/-/satteri-0.10.5.tgz", @@ -6310,24 +6016,6 @@ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", "license": "MIT" }, - "node_modules/sitemap": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/sitemap/-/sitemap-10.0.0.tgz", - "integrity": "sha512-KSjl4H4KBEnGX5KXgzInPAycdOFhwLar0EmksDcYn6NqW2O+zLiMGeV2THE6tpuv3LCVdv+6xsSo2SWLGaBDKw==", - "license": "MIT", - "dependencies": { - "@types/node": "^22.0.0 || ^24.0.0 || ^26.0.0", - "@types/sax": "^1.2.1", - "sax": "^1.4.1" - }, - "bin": { - "sitemap": "dist/cli.js" - }, - "engines": { - "node": ">=22.22.1", - "npm": ">=10.8.2" - } - }, "node_modules/smol-toml": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.9.1.tgz", @@ -6388,21 +6076,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/strnum": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.5.1.tgz", - "integrity": "sha512-UM4nTLWzQiDBseVxUGxN0wJzIk0UU89Qi7pKXz9qISo+lhviJikTuikBsK/oFRlpvYHvSdz0TVoLyQ+sEpYwxA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "dependencies": { - "anynum": "^1.0.1" - } - }, "node_modules/style-to-js": { "version": "1.1.21", "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz", @@ -6613,7 +6286,8 @@ "version": "8.3.0", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.3.0.tgz", "integrity": "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==", - "license": "MIT" + "license": "MIT", + "optional": true }, "node_modules/unified": { "version": "11.0.5", @@ -7336,21 +7010,6 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "license": "ISC" }, - "node_modules/xml-naming": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/xml-naming/-/xml-naming-0.3.1.tgz", - "integrity": "sha512-EJ9yNAfjrIz2z7chbVlj4CD3HkPxXNPD6U6LzhKEfIFlRmEHtl7CN6C0qdPGL4hplTuj2wePPgIZN8aklE/2Og==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "engines": { - "node": ">=16.0.0" - } - }, "node_modules/xxhash-wasm": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/xxhash-wasm/-/xxhash-wasm-1.1.0.tgz", diff --git a/package.json b/package.json index 130595b..9a61f6f 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,6 @@ "dependencies": { "@astrojs/markdown-remark": "^7.3.5", "@astrojs/mdx": "^8.1.2", - "@astrojs/rss": "^4.0.20", - "@astrojs/sitemap": "^3.7.7", "@fontsource/atkinson-hyperlegible": "^5.3.0", "@fontsource/lexend": "^5.3.0", "@fontsource/opendyslexic": "^5.3.0", @@ -24,7 +22,6 @@ "astro": "^7.4.5", "astro-icon": "^1.1.5", "remark-toc": "^9.0.0", - "sanitize-html": "^2.18.2", "tailwindcss": "^4.3.0" } } diff --git a/src/components/Footer.astro b/src/components/Footer.astro index ad4136b..43262fc 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -3,7 +3,7 @@ import "../styles/global.css"; import Icon from '../assets/circle-half.svg'; const rev = import.meta.env.REVISION; -const revURL = `https://code.destrealm.net/justus/notes/src/commit/${import.meta.env.FULL_REVISION}`; +const revURL = `https://code.destrealm.net/zancarius/sundays/src/commit/${import.meta.env.FULL_REVISION}`; const revCount = import.meta.env.REV_COUNT; ---