diff --git a/.gitignore b/.gitignore
index f39d48f..df127fe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,3 @@
/.astro/
-/.env
-/.ssh/
/dist/
node_modules/
diff --git a/Makefile b/Makefile
index 992d47f..a06a06f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,21 +1,8 @@
-revision := $(shell git rev-parse HEAD | head -c 8)
-fullRevision := $(shell git rev-parse HEAD)
-revcount := $(shell git rev-list --count HEAD)
-
-all: env build deploy
+all: 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/
-
-env:
- echo "REVISION='$(revision)'" > .env
- echo "FULL_REVISION='$(fullRevision)'" >> .env
- echo "REV_COUNT='$(revcount)'" >> .env
+ rsync -vaAExh --delete dist/ aries:/www/hosted/bashelton.com/public_html/sundays/
diff --git a/astro.config.mjs b/astro.config.mjs
index 0c54eb0..d1d9d90 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -1,5 +1,5 @@
// @ts-check
-import { defineConfig, envField } from 'astro/config';
+import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import tailwindcss from "@tailwindcss/vite";
import remarkToc from 'remark-toc';
@@ -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],
@@ -28,11 +27,4 @@ export default defineConfig({
host: true,
port: 8080,
},
- env: {
- schema: {
- REVISION: envField.string({context: "server", access: "public", optional: true, default: "DEV"}),
- FULL_REVISION: envField.string({context: "server", access: "public", optional: true, default: "DEV"}),
- REV_COUNT: envField.number({context: "server", access: "public", optional: true, default: 0})
- }
- }
});
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 7f152f5..8add3ed 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,16 +10,10 @@
"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",
"@tailwindcss/vite": "^4.3.0",
"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 +352,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",
@@ -676,33 +649,6 @@
"tslib": "^2.4.0"
}
},
- "node_modules/@fontsource/atkinson-hyperlegible": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/@fontsource/atkinson-hyperlegible/-/atkinson-hyperlegible-5.3.0.tgz",
- "integrity": "sha512-Sp8Ve8+rQmENY2Lv02VH7sLpntzTTvnncnJMTbRE7DX6TLxGraN4ykZfzaUWIoCFmaomwkvNiqmlPkrKBuDoSA==",
- "license": "OFL-1.1",
- "funding": {
- "url": "https://github.com/sponsors/ayuhito"
- }
- },
- "node_modules/@fontsource/lexend": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/@fontsource/lexend/-/lexend-5.3.0.tgz",
- "integrity": "sha512-4igbsooynC6xwfagkAW6eo9JMrw8ALFGkWn1YChYmYchufMJSPgWihD+cy5ruX5YX/gDk/gllcl1Oj7q6KUZmw==",
- "license": "OFL-1.1",
- "funding": {
- "url": "https://github.com/sponsors/ayuhito"
- }
- },
- "node_modules/@fontsource/opendyslexic": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/@fontsource/opendyslexic/-/opendyslexic-5.3.0.tgz",
- "integrity": "sha512-BVYIW/ghc1U2iAghhYTN+GFWiZ3lnCy8Jf2KkZC23aHQHBNcMqKT718zckfqVxRx4qsXJmIMPWvczirRuhmtsg==",
- "license": "OFL-1.1",
- "funding": {
- "url": "https://github.com/sponsors/ayuhito"
- }
- },
"node_modules/@iconify/tools": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/@iconify/tools/-/tools-4.2.0.tgz",
@@ -1459,18 +1405,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 +2131,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 +2222,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 +2673,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 +3090,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 +3620,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 +3641,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 +5327,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 +5364,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 +5866,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 +5986,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 +6046,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 +6256,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 +6980,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..8489cea 100644
--- a/package.json
+++ b/package.json
@@ -15,16 +15,10 @@
"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",
"@tailwindcss/vite": "^4.3.0",
"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/public/favicon.ico b/public/favicon.ico
index 57bf241..7f48a94 100644
Binary files a/public/favicon.ico and b/public/favicon.ico differ
diff --git a/public/favicon.png b/public/favicon.png
index 46a74bc..6d11836 100644
Binary files a/public/favicon.png and b/public/favicon.png differ
diff --git a/public/images/headers/church-discipline-jesus-source.jpg b/public/images/headers/church-discipline-jesus-source.jpg
deleted file mode 100644
index ed6b8d8..0000000
Binary files a/public/images/headers/church-discipline-jesus-source.jpg and /dev/null differ
diff --git a/public/images/headers/church-discipline-jesus.jpg b/public/images/headers/church-discipline-jesus.jpg
deleted file mode 100644
index c56615f..0000000
Binary files a/public/images/headers/church-discipline-jesus.jpg and /dev/null differ
diff --git a/public/images/headers/jesus-cradling-the-lost-sheep-source.jpg b/public/images/headers/jesus-cradling-the-lost-sheep-source.jpg
deleted file mode 100644
index 0ff1803..0000000
Binary files a/public/images/headers/jesus-cradling-the-lost-sheep-source.jpg and /dev/null differ
diff --git a/public/images/headers/jesus-cradling-the-lost-sheep.jpg b/public/images/headers/jesus-cradling-the-lost-sheep.jpg
deleted file mode 100644
index ef5f75c..0000000
Binary files a/public/images/headers/jesus-cradling-the-lost-sheep.jpg and /dev/null differ
diff --git a/public/resources/js/main.js b/public/resources/js/main.js
new file mode 100644
index 0000000..72c0838
--- /dev/null
+++ b/public/resources/js/main.js
@@ -0,0 +1,4 @@
+
+// Import local modules
+import '@modules/mobile-nav'
+import '@modules/lazyload'
diff --git a/public/resources/js/modules/lazyload/index.js b/public/resources/js/modules/lazyload/index.js
new file mode 100644
index 0000000..7d72b99
--- /dev/null
+++ b/public/resources/js/modules/lazyload/index.js
@@ -0,0 +1,55 @@
+import $$ from '@utilities/selectors'
+import { exists } from '@utilities/helpers'
+
+const Lazyload = function Lazyload()
+{
+
+ // lazyload our images
+ const images = $$.wrapper.querySelectorAll('[data-src]')
+
+ if ( exists(images) )
+ {
+
+ // options
+ const options = {
+ threshold: 0.5
+ }
+
+ const preloadImage = (img) => {
+
+ // find and store the image's data-load attribute
+ const src = img.dataset.src
+
+ img.src = src
+
+ // add a class of loaded
+ // we can then use this as a hook for fade-in animations etc
+ img.classList.add('loaded')
+ img.removeAttribute('data-src')
+
+ }
+
+ const lazyLoad = new IntersectionObserver((entries, lazyLoad) => {
+
+ entries.forEach(entry => {
+
+ if (entry.isIntersecting) {
+
+ preloadImage(entry.target)
+ lazyLoad.unobserve(entry.target)
+
+ }
+
+ })
+
+ }, options)
+
+ images.forEach(image => {
+ lazyLoad.observe(image)
+ })
+
+ }
+
+}()
+
+export default Lazyload
diff --git a/public/resources/js/modules/mobile-nav/index.js b/public/resources/js/modules/mobile-nav/index.js
new file mode 100644
index 0000000..17268ce
--- /dev/null
+++ b/public/resources/js/modules/mobile-nav/index.js
@@ -0,0 +1,27 @@
+import $$ from '@utilities/selectors'
+
+const MobileNav = function MobileNav()
+{
+
+ $$.mobileNavToggle.addEventListener('click', function() {
+
+ this.classList.toggle('expanded')
+ $$.mobileNav.classList.toggle('menu-visible')
+
+ // set aria-expanded attribute on menu toggle button
+ if ( this.getAttribute('aria-expanded') === 'false' )
+ {
+
+ this.setAttribute('aria-expanded', 'true')
+
+ } else {
+
+ this.setAttribute('aria-expanded', 'false')
+
+ }
+
+ })
+
+}()
+
+export default MobileNav
diff --git a/public/resources/js/utilities/helpers/index.js b/public/resources/js/utilities/helpers/index.js
new file mode 100644
index 0000000..8755de9
--- /dev/null
+++ b/public/resources/js/utilities/helpers/index.js
@@ -0,0 +1,39 @@
+import $$ from '@utilities/selectors'
+
+/**
+ * @description Test if the body id is something
+ * @param {string}
+ * @return {bool}
+ *
+ */
+
+const page = function(name) {
+
+ if (!name) {
+ return $$.body.getAttribute('id')
+ }
+
+ return ($$.body.getAttribute('id') == name)
+
+}
+
+
+/**
+ * @description Check if element exists the page
+ * @param {string} Element selector
+ * @param {string} Minimum number of elements
+ * @return {bool}
+ */
+
+const exists = function(el, limit) {
+
+ return (el.length > 0)
+
+}
+
+export {
+ page,
+ exists
+}
+
+
diff --git a/public/resources/js/utilities/selectors/index.js b/public/resources/js/utilities/selectors/index.js
new file mode 100644
index 0000000..d074a9c
--- /dev/null
+++ b/public/resources/js/utilities/selectors/index.js
@@ -0,0 +1,30 @@
+
+const $$ = {
+
+ body : document.querySelector('body'),
+
+ wrapper : document.getElementById('wrapper'),
+
+ header : document.getElementById('header'),
+
+ nav : document.getElementById('nav'),
+
+ hero : document.getElementById('hero'),
+
+ main : document.getElementById('main'),
+
+ containerCentre : document.getElementById('container-centre'),
+
+ containerRight : document.getElementById('container-right'),
+
+ preFooter : document.getElementById('pre-footer'),
+
+ footer : document.getElementById('footer'),
+
+ mobileNav : document.getElementById('mobile-nav'),
+
+ mobileNavToggle : document.getElementById('mobile-nav-toggle')
+
+}
+
+export default $$
diff --git a/src/icons/circle-half.svg b/src/assets/circle-half.svg
similarity index 100%
rename from src/icons/circle-half.svg
rename to src/assets/circle-half.svg
diff --git a/src/components/Footer.astro b/src/components/Footer.astro
index ad4136b..c4ed05c 100644
--- a/src/components/Footer.astro
+++ b/src/components/Footer.astro
@@ -1,15 +1,12 @@
---
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 revCount = import.meta.env.REV_COUNT;
---
\ No newline at end of file
diff --git a/src/components/Header.astro b/src/components/Header.astro
index 7f45fbb..8a062ae 100644
--- a/src/components/Header.astro
+++ b/src/components/Header.astro
@@ -1,60 +1,6 @@
---
import "../styles/global.css";
-import Menu from './Menu.astro';
-
-import { Icon } from 'astro-icon/components';
-
-import { urlfrag } from '../utils/path';
const base = import.meta.env.BASE_URL;
---
-
- Just Us Notes
-
-
- -[Truly I tell you, whatever you bind on earth will be bound in heaven, and whatever you loose on earth will be loosed in heaven. Again, I tell you truly that if two of you on the earth agree about anything you ask for, it will be done for you by My Father in heaven. For where two or three gather together in My name, there am I with them.](:jesus) - -*Berean Standard Bible* - -- -As with [Matthew 16:19](:scripture), the language "binding" and "loosing" refers to whatever is prohibited (bound) and whatever is permitted (loosed) by the church. This, of course, is not a permission slip for the church to permit sinful activities; rather, this passage addresses secondary issues. Things like dress code or specific etiquette the the church declares to be permissible (or not) are governed here. - -Likewise, Jesus' phrasing "[[...] if two of you on the earth agree about anything you ask for, it will be done for you [...]](:jesus)" is not a blanket statement for receiving *anything*. In context, this passage points to the decision-making process present within the body of believers--specifically with regards to conflict resolution.4(p.196-197) Whenever conflict is present in the church, it should be approached with gentleness and submission to God. "[It will be done for you](:jesus)" is Jesus' promise that, no matter how difficult a conflict may seem, no matter how impossible a resolution might appear, if we take our concerns to the Father, whatever we ask, it will be done for us. - -*That* promise is non-negotiable. If we come to the Father with a repentant heart, *and* a desire to resolve and reconcile with one another, He will answer our prayers and the conflict will evaporate. - -Of course, not everything ends so cleanly; we've seen what happens when someone is unrepentant and they are removed from the church. However, remember that God is sovereign over all things--*removal* of that person from the body may cause temporary pain, but we should pray that it would lead them to repentance as Paul did in [1 Corinthians 5:5](:scripture). - -Finally, we come to one of the more widely misused verses in scripture. - -"[[W]here two or three gather together in My name, there am I with them](:jesus)." - -We often hear this passage in the context of fellowship or in moments of distress when we seek counsel from others. The latter is one such circumstance I heard these words used for the first time. This view isn't *wrong*--Jesus *is* describing a gathering of two or three in his name--but we must understand the context. - -If we view this statement in the context of conflict resolution and the authority Jesus has given to the assembly, the gathering of "[two or three](:jesus)" is constrained to the decision-making process that precipitated from [vv 16](:scripture) where witnesses are brought into the conflict beginning in [vv 15](:scripture). What Jesus describes here isn't a generalized fellowship of believers but rather a deliberate and intentional gathering to decide how the matter ought to be settled. He is giving us the confidence in Him that no matter what it is we have to face, confront, or ultimately enact, He is present among us. Jesus will never leave us to settle difficult matters on our own. *That* is why he instructs us to bring these matters before Him and to ask the Father. Not only will it be [done](:jesus), but Jesus will be there in the midst of us. - -### The Unforgiving Servant ([Matthew 18:21-35](:scripture)) - -As we begin this next section, we come across Peter asking of Christ a question relating to forgiveness. While it provides some amusement in the gospel accounts that Peter is usually the one who speaks first--and, evidently, seems unbothered by the nature of his own questions--we should pause for a moment to reflect. *How often have I been like Peter?* - -Doubtless, we've all been there. "*How many times must I forgive, Lord?*" is a question we've all thought at least once in our lives. David's lamentations of "how long, O Lord?" could just as easily have been uttered through our own lips as his. - -#### How Many Times? - -Jesus responds to Peter pointedly. "[I tell you, not just seven times, but seventy-seven times](:jesus)!"56 Here, Jesus is using a common idiomatic expression in Koine Greek to denote an incalculable quantity. - -There's a surprising amount to unpack here. - -First, God's grace is so vastly abundant--and infinite--that if we are to follow Christ, we are expected to be generous and overflowing with abundance of forgiveness as well. God expects us to reflect the expansiveness of his divine forgiveness toward each other.1(Mt 18:22) - -Second, in First Century Jewish customs, forgiving another **three** times was considered sufficient to demonstrate a forgiving spirit. Peter's question suggesting **seven** times was given from a perspective of what he thought was generosity--if customs of the day required forgiving another **three** times, clearly **seven** is more!2(p.1859) - -However, Jesus surprises him with the answer: Don't keep track of how many times you forgive. Forgive as many times as required and as often as it takes. **Seventy-seven times** conveyed the idea of a number so large that it was immeasurable. - -#### The Parable - -In this parable, we see a clear reflection of God's bountiful forgiveness juxtaposed with our unforgiveness. If we consider the monetary figures in question, this analogy becomes clear. - -First, a *talent* was originally a form of weight measurement in Old Testament times. By the New Testament, it evolved into a form of measuring currency equivalent to about 6,000 drachmas (20 years' worth of wages, approximately). If we calculate this out, the value then becomes a debt of approximately $6 billion at the time the ESV Study Bible was published (their figures).2(p.1859) The precise figure doesn't matter as much as the analogue Jesus illustrates in these passages--the debt owed by the unforgiving servant was **so vast** he had absolutely no hope of ever paying it back. - -Second, the punishment--him, his wife, and his children being sold into slavery--was a common form of debt repayment in the First Century. The punishment would never be able to extract the incalculable amount the servant owed, but it was considered *just* by the day's standards. Debts had to be repaid. - -Third, the master's forgiveness of such an incredible debt reflects the unfathomable breadth and depth of God's forgiveness for ourselves. The severity of sin is such that only an effectively *infinite* payment could pay off such debt--and it was through Christ's crucifixion--but its weight is such that we ourselves can never hope to shoulder it. - -The servant's begging and subsequent unforgiveness portrays one who grovels before the LORD but is never truly transformed. We see this in his response toward another servant who owes 100 denarii. While the amount is not insignificant (about 20 weeks of labor2(p.1859)), it's a vastly inferior sum versus what was owed by the unforgiving servant. The exchange is also interesting: Rather than accept whatever payment the other servant could afford, the *unforgiving servant* immediately turned him over to the prison to cast judgment. When the master learns of this, he passes the wicked servant off "[to the jailers [to be tortured], until he should repay all that he owed](:jesus)." - -This exchange illustrates one who professes to have received God's forgiveness but treats others with a degree of callousness that is grossly outsized with regards to whatever forgiveness or apology is owed. - -But the warning Jesus gives is much harsher. - -The imagery of the unforgiving servant being handed over to the [jailers](:jesus) is clearly illustrative of eternal torment for two reasons: 1) Most translations take the word "jailer" to mean "tormentors" or, as in BSB, "[to the jailers to be tortured](:jesus)," thereby reflecting eternal punishment because 2) "[until he should repay all that he owed](:jesus)" is itself a hyperbolic statement--the servant could *never* hope to repay the amount he owed. - -Therefore, the conclusion is fairly obvious: If the servant was jailed, and tormented, until he could repay his debt, but his debt was so incalculably enormous that he could never hope to repay it, he would be subject to eternal torment. - -Unforgiveness is an insidious type of sin for one particular reason. If we cannot forgive someone else, if we fail to show them mercy when we ourselves have received mercy, then it cannot be said that our hearts were fundamentally transformed by God. If our hearts were not transformed, then it is a valid question to ask if we have truly come to saving faith. - -## Footnotes - -1. John D. Barry et al., Faithlife Study Bible (Bellingham, WA: Lexham Press, 2012, 2016), Mt 18:15. -2. Crossway Bibles, The ESV Study Bible (Wheaton, IL: Crossway Bibles, 2008), 1859. -3. At least in the context of a reasonable society. -4. Michael Green, The Message of Matthew: The Kingdom of Heaven, The Bible Speaks Today (Leicester, England; Downers Grove, IL: InterVarsity Press, 2001), 196–97. -5. Most translations contain a footnote here offering the alternative translation "seventy-times-seven." Either translation is acceptable. BDAG (see #6) suggests this reading may be short for "seventy times seven times," but the reading "seventy-seven times" is more likely in view. -6. William Arndt et al., A Greek-English Lexicon of the New Testament and Other Early Christian Literature (Chicago: University of Chicago Press, 2000), 269. -7. "[To be tortured](:jesus)" is not present in all translations and is absent from the ESV. NET2 (Full Notes Edition) warns that this phrasing should not be ignored even if it is hyperbole. \ No newline at end of file diff --git a/src/pages/[...page].astro b/src/pages/[...page].astro index 9421077..8c398a0 100644 --- a/src/pages/[...page].astro +++ b/src/pages/[...page].astro @@ -16,7 +16,7 @@ const base = import.meta.env.BASE_URL; export const getStaticPaths = (async ({ paginate }) => { const notes = (await getCollection('notes')).sort( (a: CollectionEntry<'notes'>, b: CollectionEntry<'notes'>) => b.data.date.valueOf() - a.data.date.valueOf(), - ).filter((note) => (note.data.published || import.meta.env.DEV)); + ).filter((note) => (note.data.published)); return paginate(notes, { pageSize: 6 }); }) satisfies GetStaticPaths; @@ -29,7 +29,7 @@ const { page } = Astro.props;