Compare commits

..
16 changed files with 489 additions and 30 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
/.astro/ /.astro/
/.env /.env
/.ssh/
/dist/ /dist/
node_modules/ node_modules/

View file

@ -6,10 +6,14 @@ revcount := $(shell git rev-list --count HEAD)
all: env build deploy all: env build deploy
build: build:
npm run build
force-build:
npm run force-build npm run force-build
deploy: deploy:
rsync -vaAExh --delete dist/ aries:/www/hosted/bashelton.com/public_html/sundays/ #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/
env: env:
echo "REVISION='$(revision)'" > .env echo "REVISION='$(revision)'" > .env

View file

@ -8,12 +8,13 @@ import { ScriptureLinks } from './src/utils/rehype';
import icon from 'astro-icon'; import icon from 'astro-icon';
import sitemap from "@astrojs/sitemap";
// https://astro.build/config // https://astro.build/config
export default defineConfig({ export default defineConfig({
base: "/sundays",
trailingSlash: "always", trailingSlash: "always",
site: "https://bashelton.com", site: "https://itsjustus.faith",
integrations: [mdx(), icon()], integrations: [mdx(), icon(), sitemap()],
markdown: { markdown: {
processor: unified({ processor: unified({
remarkPlugins: [remarkToc], remarkPlugins: [remarkToc],

347
package-lock.json generated
View file

@ -10,6 +10,8 @@
"dependencies": { "dependencies": {
"@astrojs/markdown-remark": "^7.3.5", "@astrojs/markdown-remark": "^7.3.5",
"@astrojs/mdx": "^8.1.2", "@astrojs/mdx": "^8.1.2",
"@astrojs/rss": "^4.0.20",
"@astrojs/sitemap": "^3.7.7",
"@fontsource/atkinson-hyperlegible": "^5.3.0", "@fontsource/atkinson-hyperlegible": "^5.3.0",
"@fontsource/lexend": "^5.3.0", "@fontsource/lexend": "^5.3.0",
"@fontsource/opendyslexic": "^5.3.0", "@fontsource/opendyslexic": "^5.3.0",
@ -17,6 +19,7 @@
"astro": "^7.4.5", "astro": "^7.4.5",
"astro-icon": "^1.1.5", "astro-icon": "^1.1.5",
"remark-toc": "^9.0.0", "remark-toc": "^9.0.0",
"sanitize-html": "^2.18.2",
"tailwindcss": "^4.3.0" "tailwindcss": "^4.3.0"
}, },
"engines": { "engines": {
@ -355,6 +358,27 @@
"node": ">=22.23.4" "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": { "node_modules/@astrojs/telemetry": {
"version": "3.4.2", "version": "3.4.2",
"resolved": "https://registry.npmjs.org/@astrojs/telemetry/-/telemetry-3.4.2.tgz", "resolved": "https://registry.npmjs.org/@astrojs/telemetry/-/telemetry-3.4.2.tgz",
@ -1435,6 +1459,18 @@
"@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.4" "@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": { "node_modules/@oslojs/encoding": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@oslojs/encoding/-/encoding-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@oslojs/encoding/-/encoding-1.1.0.tgz",
@ -2161,11 +2197,19 @@
"resolved": "https://registry.npmjs.org/@types/node/-/node-26.2.0.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-26.2.0.tgz",
"integrity": "sha512-5IviulTZeRNp2vAJ514cc/HUlY5nZ9fCbq9DMyC52BrhFZACo3nI0R7qBxhQmo/d27NFe96ur/b7Wwxklda+kg==", "integrity": "sha512-5IviulTZeRNp2vAJ514cc/HUlY5nZ9fCbq9DMyC52BrhFZACo3nI0R7qBxhQmo/d27NFe96ur/b7Wwxklda+kg==",
"license": "MIT", "license": "MIT",
"optional": true,
"dependencies": { "dependencies": {
"undici-types": "~8.3.0" "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": { "node_modules/@types/ungap__structured-clone": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/@types/ungap__structured-clone/-/ungap__structured-clone-1.2.0.tgz", "resolved": "https://registry.npmjs.org/@types/ungap__structured-clone/-/ungap__structured-clone-1.2.0.tgz",
@ -2252,6 +2296,18 @@
"url": "https://github.com/sponsors/jonschlinkert" "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": { "node_modules/aria-query": {
"version": "5.3.2", "version": "5.3.2",
"resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz", "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz",
@ -2703,6 +2759,12 @@
"integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==", "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==",
"license": "CC0-1.0" "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": { "node_modules/debug": {
"version": "4.4.3", "version": "4.4.3",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
@ -3120,6 +3182,45 @@
"fast-string-width": "^3.0.2" "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": { "node_modules/fd-slicer": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
@ -3650,6 +3751,27 @@
"url": "https://github.com/sponsors/sindresorhus" "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": { "node_modules/jiti": {
"version": "2.7.0", "version": "2.7.0",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz", "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz",
@ -3671,6 +3793,15 @@
"integrity": "sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==", "integrity": "sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==",
"license": "MIT" "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": { "node_modules/lightningcss": {
"version": "1.32.0", "version": "1.32.0",
"resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",
@ -5357,6 +5488,12 @@
"url": "https://github.com/sponsors/wooorm" "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": { "node_modules/parse5": {
"version": "7.3.0", "version": "7.3.0",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz",
@ -5394,6 +5531,21 @@
"url": "https://github.com/inikulin/parse5?sponsor=1" "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": { "node_modules/pathe": {
"version": "2.0.3", "version": "2.0.3",
"resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
@ -5896,6 +6048,148 @@
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
"license": "MIT" "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": { "node_modules/satteri": {
"version": "0.10.5", "version": "0.10.5",
"resolved": "https://registry.npmjs.org/satteri/-/satteri-0.10.5.tgz", "resolved": "https://registry.npmjs.org/satteri/-/satteri-0.10.5.tgz",
@ -6016,6 +6310,24 @@
"integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==",
"license": "MIT" "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": { "node_modules/smol-toml": {
"version": "1.9.1", "version": "1.9.1",
"resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.9.1.tgz", "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.9.1.tgz",
@ -6076,6 +6388,21 @@
"url": "https://github.com/sponsors/wooorm" "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": { "node_modules/style-to-js": {
"version": "1.1.21", "version": "1.1.21",
"resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz", "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz",
@ -6286,8 +6613,7 @@
"version": "8.3.0", "version": "8.3.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.3.0.tgz", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.3.0.tgz",
"integrity": "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==", "integrity": "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==",
"license": "MIT", "license": "MIT"
"optional": true
}, },
"node_modules/unified": { "node_modules/unified": {
"version": "11.0.5", "version": "11.0.5",
@ -7010,6 +7336,21 @@
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
"license": "ISC" "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": { "node_modules/xxhash-wasm": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/xxhash-wasm/-/xxhash-wasm-1.1.0.tgz", "resolved": "https://registry.npmjs.org/xxhash-wasm/-/xxhash-wasm-1.1.0.tgz",

View file

@ -15,6 +15,8 @@
"dependencies": { "dependencies": {
"@astrojs/markdown-remark": "^7.3.5", "@astrojs/markdown-remark": "^7.3.5",
"@astrojs/mdx": "^8.1.2", "@astrojs/mdx": "^8.1.2",
"@astrojs/rss": "^4.0.20",
"@astrojs/sitemap": "^3.7.7",
"@fontsource/atkinson-hyperlegible": "^5.3.0", "@fontsource/atkinson-hyperlegible": "^5.3.0",
"@fontsource/lexend": "^5.3.0", "@fontsource/lexend": "^5.3.0",
"@fontsource/opendyslexic": "^5.3.0", "@fontsource/opendyslexic": "^5.3.0",
@ -22,6 +24,7 @@
"astro": "^7.4.5", "astro": "^7.4.5",
"astro-icon": "^1.1.5", "astro-icon": "^1.1.5",
"remark-toc": "^9.0.0", "remark-toc": "^9.0.0",
"sanitize-html": "^2.18.2",
"tailwindcss": "^4.3.0" "tailwindcss": "^4.3.0"
} }
} }

View file

@ -3,7 +3,7 @@ import "../styles/global.css";
import Icon from '../assets/circle-half.svg'; import Icon from '../assets/circle-half.svg';
const rev = import.meta.env.REVISION; const rev = import.meta.env.REVISION;
const revURL = `https://code.destrealm.net/zancarius/sundays/src/commit/${import.meta.env.FULL_REVISION}`; const revURL = `https://code.destrealm.net/justus/notes/src/commit/${import.meta.env.FULL_REVISION}`;
const revCount = import.meta.env.REV_COUNT; const revCount = import.meta.env.REV_COUNT;
--- ---
<footer> <footer>

View file

@ -5,10 +5,10 @@ const { title, image } = Astro.props;
<meta property="description" content="Just Us Class Notes and Resources" /> <meta property="description" content="Just Us Class Notes and Resources" />
<meta property="robots" content="noindex, nofollow" /> <meta property="robots" content="noindex, nofollow" />
{title && <meta property="og:title" content={title} />} {title && <meta property="og:title" content={title} />}
{!title && <meta property="og:title" content="Just Us Class Notes and Resources" />} {!title && <meta property="og:title" content="It's Just Us: Class Notes and Resources" />}
{image && <meta property="og:image" content=`https://bashelton.com${image}` />} {image && <meta property="og:image" content=`https://itsjustus.faith${image}` />}
<meta property="og:description" content="Just Us Class Notes and Resources" /> <meta property="og:description" content="Just Us Class Notes and Resources" />
<meta property="og:url" content="https://bashelton.com/sundays" /> <meta property="og:url" content="https://itsjustus.faith/" />
<meta property="og:site_name" content="Just Us Class Notes and Resources" /> <meta property="og:site_name" content="It's Just Us" />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" /> <meta property="og:locale" content="en_US" />

16
src/icons/bible.svg Normal file
View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg fill="#000000" height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 512.001 512.001" xml:space="preserve">
<g>
<g>
<path d="M456.348,0H139.13v378.435h-33.391V0C68.913,0,38.957,29.956,38.957,66.783v378.435c0,36.826,29.956,66.783,66.783,66.783
h350.609c9.217,0,16.696-7.473,16.696-16.696V16.696C473.043,7.473,465.565,0,456.348,0z M240.418,133.565h33.391v-33.391
c0-9.22,7.475-16.696,16.696-16.696h33.391c9.22,0,16.696,7.475,16.696,16.696v33.391h33.391c9.22,0,16.696,7.475,16.696,16.696
v33.391c0,9.22-7.475,16.696-16.696,16.696h-33.391v111.304c0,9.22-7.475,16.696-16.696,16.696h-33.391
c-9.22,0-16.696-7.475-16.696-16.696V200.348h-33.391c-9.22,0-16.696-7.475-16.696-16.696v-33.391h0
C223.721,141.041,231.197,133.565,240.418,133.565z M105.739,478.609c-18.413,0-33.391-14.978-33.391-33.391
c0-18.413,14.978-33.391,33.391-33.391h333.913v66.782H105.739z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -47,6 +47,7 @@ th();
<Meta title={title} image={image} /> <Meta title={title} image={image} />
<link rel="icon" type="image/svg+xml" href={urlfrag(base, 'favicon.svg')} /> <link rel="icon" type="image/svg+xml" href={urlfrag(base, 'favicon.svg')} />
<link rel="icon" href={urlfrag(base, 'favicon.png')} /> <link rel="icon" href={urlfrag(base, 'favicon.png')} />
<link rel="alternate" type="application/rss+xml" title="It's Just Us" href="/rss.xml" />
<title>{title}</title> <title>{title}</title>
<script> <script>
import { theme } from '../utils/theme.ts'; import { theme } from '../utils/theme.ts';

View file

@ -1,9 +1,9 @@
--- ---
date: "2026-08-09" date: "2026-08-09"
title: "Jesus Rejected at Nazareth" title: "Jesus Rejected at Nazareth"
scripture: "Matthew 13:53-58; Luke 4:16-30; Psalm 69:4" scripture: "Matthew 13:53-58"
scripture_category: gospels scripture_category: gospels
meta_description: "Matthew 13:53-58; Luke 4:16-30; Psalm 69:4" meta_description: "Matthew 13:53-58"
post_image: "/images/headers/jesus-rejected-at-nazareth.jpg" post_image: "/images/headers/jesus-rejected-at-nazareth.jpg"
types: ["long-form"] types: ["long-form"]
book: matthew book: matthew

View file

@ -120,18 +120,12 @@ This is something with which I have experience.
In my late teens through to my early twenties, I wandered away from the faith to such an extent that I eventually considered myself agnostic. I struggled with a litany of things<sup><a href="#source-6">6</a></sup>, but eventually, God was in the midst of everything I had been searching. He found me while I had been looking for answers elsewhere. Through this experience, I learned that salvation isn't something we choose. It is a response we give to the LORD. He initiates, we response. If you are one of the sheep, you may become lost and wander, but the Good Shepherd **will** find you. In my late teens through to my early twenties, I wandered away from the faith to such an extent that I eventually considered myself agnostic. I struggled with a litany of things<sup><a href="#source-6">6</a></sup>, but eventually, God was in the midst of everything I had been searching. He found me while I had been looking for answers elsewhere. Through this experience, I learned that salvation isn't something we choose. It is a response we give to the LORD. He initiates, we response. If you are one of the sheep, you may become lost and wander, but the Good Shepherd **will** find you.
<!--### A Brother Who Sins ([Matthew 18:15-18](:scripture)) ## Footnotes
### Ask in My Name ([Matthew 18:19-20](:scripture)) 1. <span id="source-1" class="source">John D. Barry et al., Faithlife Study Bible (Bellingham, WA: Lexham Press, 2012, 2016), Mt 18:1–14.</span>
2. <span id="source-2" class="source">Crossway Bibles, The ESV Study Bible (Wheaton, IL: Crossway Bibles, 2008), 1858.</span>
### The Unforgiving Servant ([Matthew 18:21-35](:scripture))--> 3. <span id="source-3" class="source">Michael Green, The Message of Matthew: The Kingdom of Heaven, The Bible Speaks Today (Leicester, England; Downers Grove, IL: InterVarsity Press, 2001), 190-193.</span>
4. <span id="source-4" class="source">Frank Stagg, “Matthew,” in Matthew–Mark, ed. Clifton J. Allen, Broadman Bible Commentary (Broadman Press, 1969), 180–182.</span>
## Sources 5. <span id="source-5" class="source">William Arndt et al., A Greek-English Lexicon of the New Testament and Other Early Christian Literature (Chicago: University of Chicago Press, 2000), 529, 651, 749, 926.</span>
6. <span id="source-6" class="source">I'll eventually document my personal testimony and link it here.</span>
1. <a name="source-1" class="source">John D. Barry et al., Faithlife Study Bible (Bellingham, WA: Lexham Press, 2012, 2016), Mt 18:1–14.</a>
2. <a name="source-2" class="source">Crossway Bibles, The ESV Study Bible (Wheaton, IL: Crossway Bibles, 2008), 1858.</a>
3. <a name="source-3" class="source">Michael Green, The Message of Matthew: The Kingdom of Heaven, The Bible Speaks Today (Leicester, England; Downers Grove, IL: InterVarsity Press, 2001), 190-193.</a>
4. <a name="source-4" class="source">Frank Stagg, “Matthew,” in Matthew–Mark, ed. Clifton J. Allen, Broadman Bible Commentary (Broadman Press, 1969), 180–182.</a>
5. <a name="source-5" class="source">William Arndt et al., A Greek-English Lexicon of the New Testament and Other Early Christian Literature (Chicago: University of Chicago Press, 2000), 529, 651, 749, 926.</a>
6. <a name="source-6" class="source">I'll eventually document my personal testimony and link it here.</a>

View file

@ -0,0 +1,28 @@
---
date: "2026-12-06"
title: "THe Fourth Discourse"
subtitle: "Part 2"
scripture: "Matthew 18:15-34"
meta_description: "Matthew 18:15-35: The Fourth Discourse: Jesus on Humility, the Value of Children, and Holy Living"
scripture_category: gospels
post_image: "/images/headers/jesus-cradling-the-lost-sheep.jpg"
types: ["long-form"]
book: matthew
chapter: 18
tags:
- notes
- matthew
published: false
---
## Lesson
### A Brother Who Sins ([Matthew 18:15-18](:scripture))
### Ask in My Name ([Matthew 18:19-20](:scripture))
### The Unforgiving Servant ([Matthew 18:21-35](:scripture))
## Footnotes

View file

@ -36,7 +36,7 @@ const meta = `{
--- ---
<Layout title=`${note.data.title} - ${note.data.sub_heading}` image=`${urlfrag(base, note.data.post_image)}`> <Layout title=`${note.data.title} - ${note.data.subtitle}` image=`${urlfrag(base, note.data.post_image)}`>
{meta && <script type="application/ld+json" is:inline set:html={meta} />} {meta && <script type="application/ld+json" is:inline set:html={meta} />}
<script> <script>
import { bindModals } from '../../utils/modal.js'; import { bindModals } from '../../utils/modal.js';

18
src/pages/robots.txt.ts Normal file
View file

@ -0,0 +1,18 @@
import type { APIRoute } from 'astro';
const getRobotsTxt = (sitemapURL: URL) => `
User-agent: *
Allow: /
Disallow: /tags/
Sitemap: ${sitemapURL.href}
`;
export const GET: APIRoute = ({ site }) => {
const sitemapURL = new URL('sitemap-index.xml', site);
return new Response(getRobotsTxt(sitemapURL).trimStart(), {
headers: {
'Content-Type': 'text/plain; charset=utf-8',
},
});
};

52
src/pages/rss.xml.js Normal file
View file

@ -0,0 +1,52 @@
import rss from '@astrojs/rss';
import sanitizeHtml from 'sanitize-html';
import { experimental_AstroContainer as AstroContainer } from 'astro/container';
import { getCollection, render } from 'astro:content';
export async function GET(context) {
const notes = (await getCollection('notes')).sort((a, b) =>
a.data.date > b.data.date ? 1 : -1
).filter((note) => (note.data.published));
const container = await AstroContainer.create();
//const notes = await getCollection('notes');
const items = await Promise.all(
notes.map(async (note) => {
const { Content } = await render(note);
const rawHTML = await container.renderToString(Content);
const content = sanitizeHtml(rawHTML, {
allowedTags: sanitizeHtml.defaults.allowedTags.concat(['a']),
allowedAttributes: {
...sanitizeHtml.defaults.allowedAttributes,
a: ['href', 'name', 'class'],
'*': ['id'],
},
transformTags: {
a: (tagName, attribs) => ({
tagName,
attribs: {
...attribs,
href: attribs.href?.startsWith('/')
? new URL(attribs.href, context.site).toString()
: attribs.href,
},
}),
}
})
return {
title: note.data.title,
pubDate: note.data.date,
description: note.data.title,
link: `/notes/${note.id}`,
content,
};
})
);
return rss({
title: "It's Just Us",
description: 'Just Us Class Notes and More',
site: context.site,
items,
customData: '<language>en-us</language>',
});
};

View file

@ -664,7 +664,7 @@ article.content {
@apply border-none bg-none hover:bg-none hover:text-black; @apply border-none bg-none hover:bg-none hover:text-black;
@apply dark:border-none dark:bg-none dark:hover:bg-none dark:hover:text-white; @apply dark:border-none dark:bg-none dark:hover:bg-none dark:hover:text-white;
} }
ol li a.source:target { ol li a.source:target, ol li span.source:target {
animation-duration: 1.5s; animation-duration: 1.5s;
animation-name: color-cycle; animation-name: color-cycle;
&:where(.dark, .dark *) { &:where(.dark, .dark *) {