Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
4e87a649ac |
|||
|
1a46b6e693 |
|||
|
8a416e9d1d |
|||
|
e5da7e6491 |
|||
|
296b0bde79 |
|||
|
754c6da52f |
|||
|
706fe886b6 |
|||
|
1391568fd5 |
|||
|
dc2d609981 |
|||
|
f5c3d17220 |
|||
|
ff6e27809e |
|||
|
bcb108220f |
|||
|
8af24718b3 |
|||
|
2bbac3f313 |
|||
|
1176986fcb |
|||
|
b34caf5c9a |
|||
|
40e1c4e45e |
|||
|
b08bfdc779 |
|||
|
50bb6dc93a |
|||
|
1d0f25a3b4 |
|||
|
8a9d3eb772 |
|||
|
3cf46c58cc |
|||
|
26a43e64cd |
|||
|
22067e5d47 |
|||
|
71b8e3576c |
|||
|
e491abcd0e |
|||
|
22d58259d4 |
|||
|
18dbbc3774 |
|||
|
0664067bd6 |
|||
|
3ba519cf17 |
|||
|
7da90092ad |
|||
|
4d8f83a63c |
|||
|
54f3c40e7d |
|||
|
6edaf54349 |
|||
|
78b9b005cd |
|||
|
2b62c37f85 |
|||
|
8616080b26 |
|||
|
1e315e09d1 |
|||
|
b9dc716c08 |
|||
|
f1006f626e |
|||
|
b0a8eda3d7 |
|||
|
f2898ac338 |
|||
|
f532b3577e |
|||
|
f3c42f9014 |
|||
|
3ca011568d |
|||
|
41e0f6c204 |
|||
|
90c2c38f4e |
|||
|
40ace895d4 |
|||
|
82d3518443 |
|||
|
4a4f1f0cc0 |
|||
|
7de41b6892 |
|||
|
c78d20d241 |
|||
|
0e7b5a195b |
|||
|
0d72a03529 |
|||
|
2b5dc42687 |
|||
|
7a0fd74615 |
|||
|
0b05878666 |
|||
|
dbf0683b22 |
|||
|
cac50fde38 |
|||
|
ccb4e2bce7 |
|||
|
57c67a3590 |
|||
|
6cdb7d4c0b |
|||
|
ba53ea0a6d |
|||
|
2691699c93 |
|||
|
92ab19830c |
|||
|
0c64899d77 |
|||
|
9de60cc7b0 |
|||
|
28982b1f81 |
|||
|
7c4476306e |
|||
|
ee2c813ee9 |
|||
|
c66f77d53f |
|||
|
d2bb47ef43 |
|||
|
5e7c2dec43 |
|||
|
630ce62fa3 |
|||
|
3641fb2623 |
|||
|
a89877a7aa |
|||
|
678c79533e |
|||
|
322503d101 |
|||
|
27e7785240 |
|||
|
f4e92c65bf |
|||
|
96c2634fdc |
|||
|
23061c2114 |
|||
|
8ef6f08a4d |
|||
|
b002cbbb29 |
|||
|
024c946998 |
|||
|
5cf4e467fe |
|||
|
9831033dde |
|||
|
f04a35bbd5 |
|||
|
c9497b16a6 |
|||
|
26a730c149 |
|||
|
d58af9e138 |
|||
|
4e22cf0bd1 |
|||
|
9a4b0b298d |
|||
|
cee80a8093 |
|||
|
243fab09f7 |
|||
|
94de73c1a5 |
|||
|
33d5328055 |
|||
|
6022da1eff |
|||
|
736ec076bb |
|||
|
780015e200 |
|||
|
14e7eab636 |
|||
|
393f3ecee3 |
|||
|
edd29b47cc |
|||
|
cbfae8263a |
|||
|
111e56ecce |
|||
|
11fd0461d0 |
|||
|
f90ab1c519 |
|||
|
3e5b4f27db |
|||
|
8605e6225f |
|||
|
0513794ecf |
|||
|
695c43f908 |
|||
|
e5a91acf3b |
|||
|
be53e75d8b |
|||
|
846d2aa1f1 |
|||
|
356c9c303c |
|||
|
5b0cf97bb1 |
|||
|
3a687dd242 |
|||
|
3bd6eaaba6 |
|||
|
02bb8b9a52 |
|||
|
776007bf93 |
|||
|
4d236d4154 |
|||
|
208294b4d8 |
|||
|
37150dcc24 |
|||
|
4cede3c849 |
|||
|
3924e858b2 |
|||
|
529f550e4a |
|||
|
502f7a62e1 |
|||
|
1d2e0be5f6 |
|||
|
e6d487b77a |
|||
|
42ca842cf0 |
|||
|
45e0e1233e |
|||
|
404aedc1ce |
|||
|
77e528b208 |
|||
|
63e776e43f |
|||
|
5b05883e4a |
|||
|
c7ad28d869 |
|||
|
2fb0c0a183 |
|||
|
56dc7b1e18 |
|||
|
111d3b3fdd |
|||
|
2a92a956c6 |
|||
|
569b4260fe |
|||
|
361269bf1b |
|||
|
cc04ef6ca3 |
|||
|
aac448e23e |
|||
|
62ea45f69c |
|||
|
bbc99ba207 |
|||
|
9824adfa8f |
|||
|
86a5e0229a |
|||
|
10e2be58c9 |
|||
|
88a61b936f |
|||
|
5b224d8c37 |
|||
|
bc913bbb79 |
|||
|
d772cdda89 |
|||
|
43db48ef0e |
|||
|
bbf3afe610 |
|||
|
3ad3d38951 |
|||
|
952ab549f0 |
|||
|
c046c94f55 |
|||
|
5e6e549722 |
|||
|
2260b933dc |
|||
|
9c571a755e |
|||
|
19bc591fcc |
|||
|
e7863e4756 |
|||
|
424ebc6367 |
|||
|
44e7f11ac4 |
|||
|
0edeab9d15 |
|||
|
0566cf5aeb |
|||
|
cd30db30e8 |
|||
|
e0a55a1397 |
|||
|
7899e82687 |
|||
|
ad53477521 |
|||
|
cb490d055e |
|||
|
e1c073b322 |
|||
|
01646998de |
|||
|
583481f926 |
|||
|
3ef039d2de |
|||
|
82e9a49ff0 |
|||
|
d8918c99f0 |
|||
|
5eaf765391 |
|||
|
fe5fc77ef5 |
|||
|
c8f9132f92 |
|||
|
5929d54605 |
|||
|
13c2e33055 |
|||
|
55d9f2d482 |
|||
|
25a56f2ede |
|||
|
c54dcee977 |
|||
|
522ec3ff61 |
|||
|
aa301b37ec |
|||
|
b6f6845235 |
|||
|
b08e36f065 |
|||
|
614961b220 |
|||
|
1df1bb361e |
|||
|
13e66e4f93 |
|||
|
907ad0dd5d |
|||
|
c47bf0d0e0 |
|||
|
045580d30f |
|||
|
5fc891af9a |
|||
|
efa86c6581 |
|||
|
8b5d92591d |
|||
|
317d70d4ff |
|||
|
3d09ba37b7 |
|||
|
fed682dff2 |
|||
|
ae202e9ce6 |
|||
|
acfd8cdd29 |
|||
|
4becab01d6 |
|||
|
9e368526c4 |
|||
|
2f15176981 |
|||
|
4e908fdafb |
|||
|
f961e390a1 |
|||
|
9fcbbcad30 |
|||
|
780aeca7ca |
|||
|
a270c45edc |
|||
|
6de6396023 |
|||
|
011142c578 |
|||
|
639dba4520 |
|||
|
fb03cb3872 |
|||
|
35cb0f1f6a |
|||
|
5bbdf4e4b5 |
|||
|
02e7178b26 |
|||
|
95cadfcb1e |
|||
|
45c4b8ad6e |
|||
|
bf5a36d590 |
|||
|
8f3d89f876 |
|||
|
2f95b6c80a |
|||
|
150fccc799 |
|||
|
1374ca3ff5 |
|||
|
558dd6b3ac |
|||
|
792de1ef7e |
|||
|
ec8a14d37d |
|||
|
56b9c5997f |
|||
|
658ac64fee |
|||
|
c9ae84e07f |
|||
|
c55661f748 |
|||
|
687462adf7 |
|||
|
79d6b96291 |
|||
|
6f85c35e22 |
|||
|
a1d73849fa |
|||
|
33169bcfba |
|||
|
8ee9f53a9e |
|||
|
49270c3e1b |
|||
|
b541b45062 |
|||
|
b081642925 |
|||
|
219785e8fe |
|||
|
c86b3daf90 |
|||
|
845e17727a |
|||
|
d74e990709 |
|||
|
882e6f5a92 |
|||
|
cb4853c09f |
|||
|
482652e5eb |
|||
|
ebc18977cd |
|||
|
0358ca676b |
|||
|
f96b0ca90b |
|||
|
8525cdd5bf |
|||
|
17af56303f |
|||
|
8adc11c46f |
|||
|
861c1bf3cc |
|||
|
0087584b65 |
|||
|
0a6778aeb7 |
|||
|
57b60fc9fe |
|||
|
7a4a042cdc |
|||
|
67de70af18 |
|||
|
7680ecbf7d |
|||
|
870f57b8e1 |
|||
|
3928c51fd6 |
|||
|
4722f57bf3 |
|||
|
58309228d9 |
|||
|
f264dd7bd4 |
|||
|
32a7c08d95 |
|||
|
bd59a73859 |
|||
|
1763a427ba |
|||
|
c92ad82fe2 |
|||
|
272740effe |
|||
|
661dbef6f9 |
|||
|
69bb3f4ad3 |
|||
|
118e1ab98e |
|||
|
51394bc84c |
|||
|
c1130fcd65 |
|||
|
ea682bbb59 |
|||
|
0541173bc9 |
|||
|
f9a9a8a736 |
|||
|
d59dd67812 |
|||
|
79b5c9246b |
|||
|
cf7e8f6026 |
|||
|
d3d5ab0170 |
|||
|
3f33e2a3c5 |
|||
|
548a886b97 |
|||
|
2a208325e2 |
|||
|
a9c755d6f3 |
|||
|
fea1c0df44 |
|||
|
6fdb8d1af1 |
|||
|
ec727d5e0e |
|||
|
473673b1c3 |
|||
|
e4f995ae07 |
|||
|
b272691e37 |
|||
|
2aeb21a7ba |
|||
|
fcd973a0b6 |
|||
|
a530e8c4be |
|||
|
e5cc081694 |
|||
|
fc0f82dc42 |
|||
|
aaae7eaaf4 |
|||
|
99f441f82f |
|||
|
a4af7d4b7c |
|||
|
eb916c96ed |
|||
|
d2707ab488 |
|||
|
d1d3a9269f |
|||
|
c16f8c0e15 |
|||
|
d0ab43a2cb |
|||
|
a7cf19bbcd |
|||
|
3d280ef899 |
|||
|
52f99ef17d |
|||
|
67f8724578 |
|||
|
37034c1398 |
|||
|
0166f8aba8 |
|||
|
8973d74bdd |
|||
|
85059bd9e0 |
|||
|
d364a5983d |
|||
|
2d45377f30 |
|||
|
4859c5b9ee |
|||
|
f17b3668d2 |
|||
|
ca9c87baf3 |
|||
|
f1961e3de7 |
|||
|
494de85f07 |
|||
|
5e12164ccf |
|||
|
0f9b74fdd3 |
|||
|
bd2dd39be5 |
|||
|
46f9b42d9e |
|||
|
54111bf6c2 |
|||
|
0fa1e16d02 |
|||
|
a8050c9aa7 |
|||
|
e3e663658a |
|||
|
c0cdce2948 |
|||
|
26fc37808f |
|||
|
bfd03d3e99 |
|||
|
6100cf338d |
|||
|
1c6f8e5d87 |
2
.gitignore
vendored
|
|
@ -1,3 +1,5 @@
|
||||||
/.astro/
|
/.astro/
|
||||||
|
/.env
|
||||||
|
/.ssh/
|
||||||
/dist/
|
/dist/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|
|
||||||
17
Makefile
|
|
@ -1,8 +1,21 @@
|
||||||
|
|
||||||
all: build deploy
|
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
|
||||||
|
|
||||||
build:
|
build:
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
|
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:
|
||||||
|
echo "REVISION='$(revision)'" > .env
|
||||||
|
echo "FULL_REVISION='$(fullRevision)'" >> .env
|
||||||
|
echo "REV_COUNT='$(revcount)'" >> .env
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,23 @@
|
||||||
// @ts-check
|
// @ts-check
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig, envField } from 'astro/config';
|
||||||
import mdx from '@astrojs/mdx';
|
import mdx from '@astrojs/mdx';
|
||||||
import tailwindcss from "@tailwindcss/vite";
|
import tailwindcss from "@tailwindcss/vite";
|
||||||
|
import remarkToc from 'remark-toc';
|
||||||
import { unified } from '@astrojs/markdown-remark';
|
import { unified } from '@astrojs/markdown-remark';
|
||||||
import { ScriptureLinks } from './src/utils/rehype';
|
import { ScriptureLinks } from './src/utils/rehype';
|
||||||
|
|
||||||
|
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()],
|
integrations: [mdx(), icon(), sitemap()],
|
||||||
markdown: {
|
markdown: {
|
||||||
processor: unified({
|
processor: unified({
|
||||||
|
remarkPlugins: [remarkToc],
|
||||||
rehypePlugins: [ScriptureLinks],
|
rehypePlugins: [ScriptureLinks],
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
|
@ -23,4 +28,11 @@ export default defineConfig({
|
||||||
host: true,
|
host: true,
|
||||||
port: 8080,
|
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})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
20
go.mod
|
|
@ -1,20 +0,0 @@
|
||||||
module git.destrealm.org/zancarius/sundays
|
|
||||||
|
|
||||||
go 1.26.3
|
|
||||||
|
|
||||||
require (
|
|
||||||
git.destrealm.org/go/capstan v0.0.0-20241020013023-152fb4231d4e // indirect
|
|
||||||
git.destrealm.org/go/cryptohelper v0.0.0-20211103023304-eafe2acf8fc2 // indirect
|
|
||||||
git.destrealm.org/go/errors v1.3.1 // indirect
|
|
||||||
git.destrealm.org/go/logging/v2 v2.3.1 // indirect
|
|
||||||
git.destrealm.org/go/signals/v2 v2.2.0 // indirect
|
|
||||||
git.destrealm.org/go/vfs v0.0.0-20211019061313-07ffa809d4c8 // indirect
|
|
||||||
github.com/flosch/pongo2/v4 v4.0.2 // indirect
|
|
||||||
github.com/fsnotify/fsnotify v1.5.1 // indirect
|
|
||||||
github.com/go-chi/chi/v5 v5.0.4 // indirect
|
|
||||||
github.com/gorilla/websocket v1.4.2 // indirect
|
|
||||||
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
|
|
||||||
golang.org/x/sys v0.0.0-20211004093028-2c5d950f24ef // indirect
|
|
||||||
kernel.org/pub/linux/libs/security/libcap/cap v1.2.69 // indirect
|
|
||||||
kernel.org/pub/linux/libs/security/libcap/psx v1.2.69 // indirect
|
|
||||||
)
|
|
||||||
48
go.sum
|
|
@ -1,48 +0,0 @@
|
||||||
git.destrealm.org/go/capstan v0.0.0-20241020013023-152fb4231d4e h1:MwAIDkX6PCjyylwG7th66nJoFnjhJqAAkeqUXz4ifuo=
|
|
||||||
git.destrealm.org/go/capstan v0.0.0-20241020013023-152fb4231d4e/go.mod h1:38opG+fyMm+WJSm6ZEWuo2vtGy3cwCA+X6tYlUQkpko=
|
|
||||||
git.destrealm.org/go/cryptohelper v0.0.0-20211103023304-eafe2acf8fc2 h1:cmNqjfMnvNrFYX/OCI88stlrnCNsumXmNbM0WdSPiMc=
|
|
||||||
git.destrealm.org/go/cryptohelper v0.0.0-20211103023304-eafe2acf8fc2/go.mod h1:o56aklqGh9x5Nt6E43+hp55liokI3KBJzPuTe1/WOlI=
|
|
||||||
git.destrealm.org/go/errors v1.3.1 h1:nINk49XtF9ffD5cb4vbB63tuvWiKjvpReZ5BGrpcA90=
|
|
||||||
git.destrealm.org/go/errors v1.3.1/go.mod h1:a9gTpEl10AxWOQCL6BoRrQg4O7RnP1OJcY5JJm1oXNA=
|
|
||||||
git.destrealm.org/go/headr v0.0.0-20220222231429-3c33e6559b09/go.mod h1:qltyhiVUC6ZBoDjH9mRfgtOVkZPkkejsPHmI6B/cna0=
|
|
||||||
git.destrealm.org/go/libkeystar v0.0.0-20241020012936-be87bd226f67/go.mod h1:LUUk40RyhIANN8Ebpba29cPu7CTx2cibQzP9LT7ubPI=
|
|
||||||
git.destrealm.org/go/logging/v2 v2.3.1 h1:+bPXhPtRz+EB5EsAU+7RglajkPczfZz+p3sMZpmKESM=
|
|
||||||
git.destrealm.org/go/logging/v2 v2.3.1/go.mod h1:cJJOOfkOkl/IpKYFvdfyBoO7TWc3M+gEk+51WWMhKw8=
|
|
||||||
git.destrealm.org/go/please v1.1.0/go.mod h1:Ny+9MjPPIDhSU6aFhBBAmvFeQyyiQjCbQrfiVHA6QIk=
|
|
||||||
git.destrealm.org/go/principal v0.0.0-20211106062354-8acf5a80c041/go.mod h1:wvO+xMR6ngKDyvbyk+W3rykTMxhxM2JFhdbcyZen0AI=
|
|
||||||
git.destrealm.org/go/signals/v2 v2.2.0 h1:dr+keHWDWg2Y/wXnYS8mS0DcXZsFbjIhS6LCsKEyE1k=
|
|
||||||
git.destrealm.org/go/signals/v2 v2.2.0/go.mod h1:sr/FUucf/fpKEWuR2riA/Pfg5S3THGy24KnEtVSw2ds=
|
|
||||||
git.destrealm.org/go/tokenizr v0.0.0-20220226050314-216fe0f97f8a/go.mod h1:s+0pXDtaXIsC89LyqfEp7qb8exjutZA1kNBCkrK2yUA=
|
|
||||||
git.destrealm.org/go/vfs v0.0.0-20211019061313-07ffa809d4c8 h1:gKatgJze4JxPW+LzKHNXZrqdwj09KqE5TUZ0qaRyPvE=
|
|
||||||
git.destrealm.org/go/vfs v0.0.0-20211019061313-07ffa809d4c8/go.mod h1:q9J7c5JMGMDvvpigodXW3MTsj0CHr0wfCZ7bhAFVzh8=
|
|
||||||
github.com/flosch/pongo2/v4 v4.0.2 h1:gv+5Pe3vaSVmiJvh/BZa82b7/00YUGm0PIyVVLop0Hw=
|
|
||||||
github.com/flosch/pongo2/v4 v4.0.2/go.mod h1:B5ObFANs/36VwxxlgKpdchIJHMvHB562PW+BWPhwZD8=
|
|
||||||
github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI=
|
|
||||||
github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU=
|
|
||||||
github.com/go-chi/chi/v5 v5.0.4 h1:5e494iHzsYBiyXQAHHuI4tyJS9M3V84OuX3ufIIGHFo=
|
|
||||||
github.com/go-chi/chi/v5 v5.0.4/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8=
|
|
||||||
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
|
|
||||||
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
|
|
||||||
github.com/joho/godotenv v1.4.0/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
|
|
||||||
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|
|
||||||
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
|
||||||
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
|
|
||||||
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg=
|
|
||||||
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
|
|
||||||
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
|
||||||
golang.org/x/net v0.0.0-20211005215030-d2e5035098b3/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
|
||||||
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
||||||
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
||||||
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
||||||
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
||||||
golang.org/x/sys v0.0.0-20211004093028-2c5d950f24ef h1:fPxZ3Umkct3LZ8gK9nbk+DWDJ9fstZa2grBn+lWVKPs=
|
|
||||||
golang.org/x/sys v0.0.0-20211004093028-2c5d950f24ef/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
||||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
|
||||||
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
|
||||||
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
|
||||||
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
|
||||||
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
|
||||||
kernel.org/pub/linux/libs/security/libcap/cap v1.2.69 h1:N0m3tKYbkRMmDobh/47ngz+AWeV7PcfXMDi8xu3Vrag=
|
|
||||||
kernel.org/pub/linux/libs/security/libcap/cap v1.2.69/go.mod h1:Tk5Ip2TuxaWGpccL7//rAsLRH6RQ/jfqTGxuN/+i/FQ=
|
|
||||||
kernel.org/pub/linux/libs/security/libcap/psx v1.2.69 h1:IdrOs1ZgwGw5CI+BH6GgVVlOt+LAXoPyh7enr8lfaXs=
|
|
||||||
kernel.org/pub/linux/libs/security/libcap/psx v1.2.69/go.mod h1:+l6Ee2F59XiJ2I6WR5ObpC1utCQJZ/VLsEbQCD8RG24=
|
|
||||||
277
main.go
|
|
@ -1,277 +0,0 @@
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"encoding/json"
|
|
||||||
"encoding/xml"
|
|
||||||
"errors"
|
|
||||||
"fmt"
|
|
||||||
"io"
|
|
||||||
"os"
|
|
||||||
)
|
|
||||||
|
|
||||||
type node struct {
|
|
||||||
Type string `json:"type"`
|
|
||||||
Version string `json:"version,omitempty"`
|
|
||||||
Caller string `json:"caller,omitempty"`
|
|
||||||
Content json.RawMessage `json:"content"`
|
|
||||||
Code string `json:"code,omitempty"`
|
|
||||||
Marker string `json:"marker,omitempty"`
|
|
||||||
Number string `json:"number,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type chapter struct {
|
|
||||||
Number int
|
|
||||||
Verses []*verse
|
|
||||||
Titles *textGroup
|
|
||||||
}
|
|
||||||
|
|
||||||
type verse struct {
|
|
||||||
Number int
|
|
||||||
TextGroup *textGroup
|
|
||||||
}
|
|
||||||
|
|
||||||
type textGroup struct {
|
|
||||||
}
|
|
||||||
|
|
||||||
type Document struct {
|
|
||||||
USX *USX `xml:"usx"`
|
|
||||||
Book *Book `xml:"book"`
|
|
||||||
Meta []*Para `xml:"para"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type USX struct {
|
|
||||||
Version string `xml:"version,attr"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type Book struct {
|
|
||||||
Style string `xml:"style,attr"`
|
|
||||||
Code string `xml:"code,attr"`
|
|
||||||
Content string `xml:"chardata"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type Chapter struct {
|
|
||||||
Style string `xml:"style,attr"`
|
|
||||||
Number int `xml:"number,attr"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type Para struct {
|
|
||||||
Style string `xml:"style,attr"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type usxMeta struct {
|
|
||||||
Version string
|
|
||||||
H string
|
|
||||||
TOC1 string
|
|
||||||
TOC2 string
|
|
||||||
TOC3 string
|
|
||||||
MT1 string
|
|
||||||
MT2 string
|
|
||||||
}
|
|
||||||
|
|
||||||
type usxDoc struct {
|
|
||||||
Book *usxBook
|
|
||||||
Meta *usxMeta
|
|
||||||
}
|
|
||||||
|
|
||||||
type usxBook struct {
|
|
||||||
Style string `xml:"style,attr"`
|
|
||||||
Code string `xml:"code,attr"`
|
|
||||||
Info string `xml:"chardata"`
|
|
||||||
Chapters []*usxChapter `xml:"-"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type usxChapter struct {
|
|
||||||
XMLName xml.Name `xml:"chapter"`
|
|
||||||
Number int `xml:"number,attr"`
|
|
||||||
Style string `xml:"style,attr"`
|
|
||||||
Para []*usxPara `xml:"-"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type usxPara struct {
|
|
||||||
XMLName xml.Name `xml:"para"`
|
|
||||||
Style string `xml:"style,attr"`
|
|
||||||
Content string `xml:",chardata"`
|
|
||||||
Refs []*usxRef `xml:"ref"`
|
|
||||||
Verses []*usxVerse `xml:"verse"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type usxRef struct {
|
|
||||||
XMLName xml.Name `xml:"ref"`
|
|
||||||
Loc string `xml:"loc,attr"`
|
|
||||||
Content string `xml:",chardata"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type usxVerse struct {
|
|
||||||
XMLName xml.Name `xml:"verse"`
|
|
||||||
Style string `xml:"style,attr"`
|
|
||||||
Number int `xml:"number,attr"`
|
|
||||||
Content string `xml:",chardata"`
|
|
||||||
Notes []*usxNote `xml:"note"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type usxNote struct {
|
|
||||||
Style string `xml:"style,attr"`
|
|
||||||
Caller string `xml:"caller,attr"`
|
|
||||||
Chars []*usxChar `xml:"char"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type usxChar struct {
|
|
||||||
Style string `xml:"style,attr"`
|
|
||||||
Content string `xml:",chardata"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// Convert USX to S2F (Structured Scripture Format).
|
|
||||||
func usxToS2f() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
type sm struct {
|
|
||||||
version string
|
|
||||||
|
|
||||||
// Are we actually processing the XML document? Requires valid processing instructions (<?xml...).
|
|
||||||
inDoc bool
|
|
||||||
|
|
||||||
// Are we processing the book metadata? Until we're actually inside a chapter, this is true.
|
|
||||||
inMeta bool
|
|
||||||
|
|
||||||
// Are we processing book chapters? Once this is true, we start collecting book data and increment chapters accordingly.
|
|
||||||
chapter *usxChapter
|
|
||||||
}
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
/*fp, err := os.Open("downloads/bsb_usj/GAL.usj")
|
|
||||||
if err != nil {
|
|
||||||
fmt.Errorf("%s", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
_ = fp*/
|
|
||||||
|
|
||||||
fp, err := os.Open("downloads/bsb_usx/GAL.usx")
|
|
||||||
if err != nil {
|
|
||||||
fmt.Println(err)
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
|
|
||||||
dec := xml.NewDecoder(fp)
|
|
||||||
tk, err := dec.Token()
|
|
||||||
if err != nil {
|
|
||||||
fmt.Println(err)
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
if _, ok := tk.(xml.ProcInst); ok {
|
|
||||||
// Skip
|
|
||||||
}
|
|
||||||
|
|
||||||
state := &sm{}
|
|
||||||
doc := &usxDoc{
|
|
||||||
Book: &usxBook{
|
|
||||||
Chapters: make([]*usxChapter, 0),
|
|
||||||
},
|
|
||||||
Meta: &usxMeta{},
|
|
||||||
}
|
|
||||||
|
|
||||||
for {
|
|
||||||
|
|
||||||
tk, err = dec.Token()
|
|
||||||
if err != nil {
|
|
||||||
if errors.Is(err, io.EOF) {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
fmt.Println(err)
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
|
|
||||||
REPROC:
|
|
||||||
switch t := tk.(type) {
|
|
||||||
default:
|
|
||||||
fmt.Printf("unhandled type: %T\n", t)
|
|
||||||
case xml.StartElement:
|
|
||||||
if !state.inMeta && !state.inDoc {
|
|
||||||
if t.Name.Local == "usx" {
|
|
||||||
for _, attr := range t.Attr {
|
|
||||||
if attr.Name.Local == "version" {
|
|
||||||
doc.Meta.Version = attr.Value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
state.inDoc = true
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
} else if state.inDoc && !state.inMeta {
|
|
||||||
if t.Name.Local == "book" {
|
|
||||||
err = dec.DecodeElement(doc.Book, &t)
|
|
||||||
if err != nil {
|
|
||||||
fmt.Println(err)
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
if t.Name.Local == "para" {
|
|
||||||
p := &usxPara{}
|
|
||||||
err = dec.DecodeElement(p, &t)
|
|
||||||
fmt.Println(p, err)
|
|
||||||
if err != nil {
|
|
||||||
fmt.Println(err)
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
switch p.Style {
|
|
||||||
case "h":
|
|
||||||
doc.Meta.H = p.Content
|
|
||||||
case "toc1":
|
|
||||||
doc.Meta.TOC1 = p.Content
|
|
||||||
case "toc2":
|
|
||||||
doc.Meta.TOC2 = p.Content
|
|
||||||
case "toc3":
|
|
||||||
doc.Meta.TOC3 = p.Content
|
|
||||||
case "mt1":
|
|
||||||
doc.Meta.MT1 = p.Content
|
|
||||||
case "mt2":
|
|
||||||
doc.Meta.MT2 = p.Content
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if t.Name.Local == "chapter" {
|
|
||||||
state.inMeta = true
|
|
||||||
goto REPROC
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
switch t.Name.Local {
|
|
||||||
case "chapter":
|
|
||||||
state.chapter = &usxChapter{}
|
|
||||||
err = dec.DecodeElement(state.chapter, &t)
|
|
||||||
if err != nil {
|
|
||||||
fmt.Println(err)
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
doc.Book.Chapters = append(doc.Book.Chapters, state.chapter)
|
|
||||||
case "para":
|
|
||||||
if state.chapter != nil {
|
|
||||||
para := &usxPara{}
|
|
||||||
err = dec.DecodeElement(para, &t)
|
|
||||||
if err != nil {
|
|
||||||
fmt.Println(err)
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
state.chapter.Para = append(state.chapter.Para, para)
|
|
||||||
}
|
|
||||||
default:
|
|
||||||
fmt.Println("unhandled tag:", t.Name.Local)
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case xml.EndElement:
|
|
||||||
//fmt.Println("end element:")
|
|
||||||
//fmt.Println(t)
|
|
||||||
case xml.Directive:
|
|
||||||
//fmt.Println("Directive:")
|
|
||||||
//fmt.Println(t)
|
|
||||||
case xml.CharData:
|
|
||||||
//fmt.Println("char data:")
|
|
||||||
//fmt.Println(t)
|
|
||||||
case xml.Comment:
|
|
||||||
//fmt.Println("comment:")
|
|
||||||
//fmt.Println(t)
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fmt.Println(doc.Book.Chapters[2].Para[6].Content)
|
|
||||||
}
|
|
||||||
3794
package-lock.json
generated
16
package.json
|
|
@ -1,20 +1,30 @@
|
||||||
{
|
{
|
||||||
"name": "astro-sundays",
|
"name": "astro-sundays",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.0.1",
|
"version": "0.1.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=22.12.0"
|
"node": ">=22.12.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
|
"force-build": "astro build --force",
|
||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/mdx": "^6.0.1",
|
"@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",
|
"@tailwindcss/vite": "^4.3.0",
|
||||||
"astro": "^6.4.2",
|
"astro": "^7.4.5",
|
||||||
|
"astro-icon": "^1.1.5",
|
||||||
|
"remark-toc": "^9.0.0",
|
||||||
|
"sanitize-html": "^2.18.2",
|
||||||
"tailwindcss": "^4.3.0"
|
"tailwindcss": "^4.3.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
BIN
public/images/figures/prayer-paper-tears.jpg
Normal file
|
After Width: | Height: | Size: 135 KiB |
BIN
public/images/headers/death-of-john-the-baptist-source.jpg
Normal file
|
After Width: | Height: | Size: 347 KiB |
BIN
public/images/headers/death-of-john-the-baptist.jpg
Normal file
|
After Width: | Height: | Size: 327 KiB |
|
After Width: | Height: | Size: 320 KiB |
BIN
public/images/headers/jesus-addressing-crowds-from-a-boat2.jpg
Normal file
|
After Width: | Height: | Size: 391 KiB |
BIN
public/images/headers/jesus-addressing-crowds-source.jpg
Normal file
|
After Width: | Height: | Size: 390 KiB |
BIN
public/images/headers/jesus-addressing-crowds.jpg
Normal file
|
After Width: | Height: | Size: 461 KiB |
|
After Width: | Height: | Size: 324 KiB |
|
After Width: | Height: | Size: 394 KiB |
BIN
public/images/headers/jesus-and-the-children-of-god-source.jpg
Normal file
|
After Width: | Height: | Size: 379 KiB |
BIN
public/images/headers/jesus-and-the-children-of-god.jpg
Normal file
|
After Width: | Height: | Size: 497 KiB |
BIN
public/images/headers/jesus-and-the-gateway-of-hell-source.jpg
Normal file
|
After Width: | Height: | Size: 496 KiB |
BIN
public/images/headers/jesus-and-the-gateway-of-hell.jpg
Normal file
|
After Width: | Height: | Size: 563 KiB |
BIN
public/images/headers/jesus-before-caiaphas-orig.jpg
Normal file
|
After Width: | Height: | Size: 463 KiB |
|
After Width: | Height: | Size: 658 KiB |
|
After Width: | Height: | Size: 598 KiB |
BIN
public/images/headers/jesus-before-caiaphas-source.jpg
Normal file
|
After Width: | Height: | Size: 357 KiB |
BIN
public/images/headers/jesus-before-caiaphas.jpg
Normal file
|
After Width: | Height: | Size: 581 KiB |
BIN
public/images/headers/jesus-cradling-the-lost-sheep-source.jpg
Normal file
|
After Width: | Height: | Size: 927 KiB |
BIN
public/images/headers/jesus-cradling-the-lost-sheep.jpg
Normal file
|
After Width: | Height: | Size: 616 KiB |
BIN
public/images/headers/jesus-crowds-of-gennesaret-source.jpg
Normal file
|
After Width: | Height: | Size: 424 KiB |
BIN
public/images/headers/jesus-crowds-of-gennesaret.jpg
Normal file
|
After Width: | Height: | Size: 473 KiB |
BIN
public/images/headers/jesus-feeding-the-five-thousand-source.jpg
Normal file
|
After Width: | Height: | Size: 432 KiB |
BIN
public/images/headers/jesus-feeding-the-five-thousand.jpg
Normal file
|
After Width: | Height: | Size: 514 KiB |
BIN
public/images/headers/jesus-feeds-the-four-thousand-source.jpg
Normal file
|
After Width: | Height: | Size: 487 KiB |
BIN
public/images/headers/jesus-feeds-the-four-thousand.jpg
Normal file
|
After Width: | Height: | Size: 532 KiB |
BIN
public/images/headers/jesus-hand-on-boys-head-source.jpg
Normal file
|
After Width: | Height: | Size: 403 KiB |
BIN
public/images/headers/jesus-hand-on-boys-head.jpg
Normal file
|
After Width: | Height: | Size: 452 KiB |
BIN
public/images/headers/jesus-rejected-at-nazareth-source.jpg
Normal file
|
After Width: | Height: | Size: 394 KiB |
BIN
public/images/headers/jesus-rejected-at-nazareth.jpg
Normal file
|
After Width: | Height: | Size: 403 KiB |
|
After Width: | Height: | Size: 410 KiB |
|
After Width: | Height: | Size: 496 KiB |
BIN
public/images/headers/jesus-walks-on-water-source.jpg
Normal file
|
After Width: | Height: | Size: 360 KiB |
BIN
public/images/headers/jesus-walks-on-water.jpg
Normal file
|
After Width: | Height: | Size: 400 KiB |
BIN
public/images/headers/mercy-we-dont-deserve-source.jpg
Normal file
|
After Width: | Height: | Size: 286 KiB |
BIN
public/images/headers/mercy-we-dont-deserve.jpg
Normal file
|
After Width: | Height: | Size: 339 KiB |
|
After Width: | Height: | Size: 417 KiB |
BIN
public/images/headers/take-up-your-cross-and-follow-me.jpg
Normal file
|
After Width: | Height: | Size: 525 KiB |
BIN
public/images/headers/the-transfiguration-source.jpg
Normal file
|
After Width: | Height: | Size: 368 KiB |
BIN
public/images/headers/the-transfiguration.jpg
Normal file
|
After Width: | Height: | Size: 511 KiB |
BIN
public/images/headers/the-trinity-source.jpg
Normal file
|
After Width: | Height: | Size: 323 KiB |
BIN
public/images/headers/the-trinity.jpg
Normal file
|
After Width: | Height: | Size: 415 KiB |
BIN
public/images/headers/woman-praying-source.jpg
Normal file
|
After Width: | Height: | Size: 427 KiB |
BIN
public/images/headers/woman-praying.jpg
Normal file
|
After Width: | Height: | Size: 580 KiB |
|
|
@ -1,4 +0,0 @@
|
||||||
|
|
||||||
// Import local modules
|
|
||||||
import '@modules/mobile-nav'
|
|
||||||
import '@modules/lazyload'
|
|
||||||
|
|
@ -1,55 +0,0 @@
|
||||||
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
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
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
|
|
||||||
|
|
@ -1,39 +0,0 @@
|
||||||
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
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
|
|
||||||
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 $$
|
|
||||||
|
|
@ -1,12 +1,15 @@
|
||||||
---
|
---
|
||||||
import "../styles/global.css";
|
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 revURL = `https://code.destrealm.net/justus/notes/src/commit/${import.meta.env.FULL_REVISION}`;
|
||||||
|
const revCount = import.meta.env.REV_COUNT;
|
||||||
---
|
---
|
||||||
<footer>
|
<footer>
|
||||||
<ul>
|
<ul>
|
||||||
<li>© 2026 <a href="https://bashelton.com/">Benjamin A. Shelton</a></li>
|
<li>© 2025, 2026 <a href="https://bashelton.com/">Benjamin A. Shelton</a></li>
|
||||||
<li>All rights reserved.</li>
|
<li>Some rights reserved.</li>
|
||||||
<li>Revised § <a href="https://git.destrealm.org/zancarius/sundays">July 2026</a></li>
|
<li>Revision <a href={revURL}>r{revCount} (sha1:{rev})</a></li>
|
||||||
<li><button data-toggle-theme><Icon /></button></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
@ -1,6 +1,60 @@
|
||||||
---
|
---
|
||||||
import "../styles/global.css";
|
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;
|
const base = import.meta.env.BASE_URL;
|
||||||
---
|
---
|
||||||
<header><a href={base}><b>Just Us</b> Notes</a></header>
|
<header id="header">
|
||||||
|
<div class="justify-self-start">
|
||||||
|
<Menu />
|
||||||
|
</div>
|
||||||
|
<h1 class="text-center">
|
||||||
|
<a href={base}><b>Just Us</b> Notes</a>
|
||||||
|
</h1>
|
||||||
|
<div class="justify-self-end flex items-center gap-2">
|
||||||
|
<a id="af-toggle" class="hidden">
|
||||||
|
<Icon name="eye" desc="Disable Accessibility Options" />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const header = document.getElementById('header');
|
||||||
|
const DWELL_TIME = 1500;
|
||||||
|
let lastpos = window.scrollY;
|
||||||
|
let hideTimeout: NodeJS.Timeout;
|
||||||
|
let hideScroll = false;
|
||||||
|
function onScroll() {
|
||||||
|
const currentpos = window.scrollY;
|
||||||
|
clearTimeout(hideTimeout);
|
||||||
|
if (hideScroll) {
|
||||||
|
header?.classList.add('-translate-y-full');
|
||||||
|
hideScroll = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (currentpos <= 100 || currentpos < lastpos) {
|
||||||
|
header?.classList.remove('-translate-y-full');
|
||||||
|
console.log("<", currentpos, lastpos);
|
||||||
|
} else if (currentpos > lastpos) {
|
||||||
|
header?.classList.remove('-translate-y-full');
|
||||||
|
hideTimeout = setTimeout(() => {
|
||||||
|
//if (window.scrollY > 100) {
|
||||||
|
header?.classList.add('-translate-y-full');
|
||||||
|
//}
|
||||||
|
}, DWELL_TIME);
|
||||||
|
}
|
||||||
|
lastpos = currentpos;
|
||||||
|
}
|
||||||
|
document.querySelectorAll('sup > a').forEach((el) => {
|
||||||
|
el.addEventListener('click', () => {
|
||||||
|
hideScroll = true;
|
||||||
|
}, {passive: true});
|
||||||
|
});
|
||||||
|
header?.addEventListener('mouseenter', () => clearTimeout(hideTimeout));
|
||||||
|
header?.addEventListener('focusin', () => clearTimeout(hideTimeout));
|
||||||
|
window.addEventListener('scroll', onScroll, {passive: true});
|
||||||
|
</script>
|
||||||
59
src/components/Menu.astro
Normal file
|
|
@ -0,0 +1,59 @@
|
||||||
|
---
|
||||||
|
import { urlfrag } from '../utils/path';
|
||||||
|
|
||||||
|
import { Icon } from 'astro-icon/components';
|
||||||
|
|
||||||
|
const base = import.meta.env.BASE_URL;
|
||||||
|
---
|
||||||
|
|
||||||
|
<nav class="flex">
|
||||||
|
<div id="nav-menu">
|
||||||
|
<input type="checkbox" id="menu-toggle">
|
||||||
|
<label for="menu-toggle" id="menu">
|
||||||
|
<div id="hamburger">
|
||||||
|
<span class="slice"></span>
|
||||||
|
<span class="slice"></span>
|
||||||
|
<span class="slice"></span>
|
||||||
|
</div>
|
||||||
|
<span class="label-text">Menu</span>
|
||||||
|
<ul id="menu-items">
|
||||||
|
<li><a href={urlfrag(base, '')}><span class="icon"><Icon name="house-door-fill" /></span> Home</a></li>
|
||||||
|
<li><a href="#" data-click="config"><span class="icon"><Icon name="universal-access" /></span> Accessibility and Fonts</a></li>
|
||||||
|
<!--<li><span class="heading">Notes</span>
|
||||||
|
<ul>
|
||||||
|
<li><a href={urlfrag(base, '/notes/by/book/')}><span class="icon"><Icon name="book" /></span> By Book</a></li>
|
||||||
|
<li><a href={urlfrag(base, '/notes/by/date/')}><span class="icon"><Icon name="calendar2-check-fill" /></span> By Date</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>-->
|
||||||
|
<li><a href={urlfrag(base, 'copyrights/')}><span class="icon"><Icon name="c-circle" /></span> Copyright Notices</a></li>
|
||||||
|
<li><button data-toggle-theme><Icon name="circle-half" /></button></li>
|
||||||
|
</ul>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<dialog class="config">
|
||||||
|
<div class="content">
|
||||||
|
<h1>Accessibility and Fonts</h1>
|
||||||
|
|
||||||
|
<form name="accessibility">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Visual Accessibility</legend>
|
||||||
|
<input type="radio" class="button" name="mode" value="none" id="af-none" checked>
|
||||||
|
<label for="af-none" class="button">None</label>
|
||||||
|
<input type="radio" class="button" name="mode" value="dyslexia" id="af-dyslexia">
|
||||||
|
<label for="af-dyslexia" class="button">Dyslexia</label>
|
||||||
|
<input type="radio" class="button" name="mode" value="hc" id="af-hc">
|
||||||
|
<label for="af-hc" class="button">High Contrast</label>
|
||||||
|
</fieldset>
|
||||||
|
<div class="text-right">
|
||||||
|
<button class="close">Close</button></div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</dialog>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { bindConfig, bindMenu } from '../utils/config.js';
|
||||||
|
bindConfig();
|
||||||
|
bindMenu();
|
||||||
|
</script>
|
||||||
14
src/components/Meta.astro
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
const { title, image } = Astro.props;
|
||||||
|
---
|
||||||
|
<meta property="author" content="Benjamin A. Shelton" />
|
||||||
|
<meta property="description" content="Just Us Class Notes and Resources" />
|
||||||
|
<meta property="robots" content="noindex, nofollow" />
|
||||||
|
{title && <meta property="og:title" content={title} />}
|
||||||
|
{!title && <meta property="og:title" content="It's Just Us: Class Notes and Resources" />}
|
||||||
|
{image && <meta property="og:image" content=`https://itsjustus.faith${image}` />}
|
||||||
|
<meta property="og:description" content="Just Us Class Notes and Resources" />
|
||||||
|
<meta property="og:url" content="https://itsjustus.faith/" />
|
||||||
|
<meta property="og:site_name" content="It's Just Us" />
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:locale" content="en_US" />
|
||||||
|
|
@ -7,6 +7,8 @@ import { titleCase } from '../utils/strings';
|
||||||
|
|
||||||
import { type CollectionEntry } from 'astro:content';
|
import { type CollectionEntry } from 'astro:content';
|
||||||
|
|
||||||
|
import { Icon } from 'astro-icon/components';
|
||||||
|
|
||||||
const scriptureStyles: {[index: string]:string} = {
|
const scriptureStyles: {[index: string]:string} = {
|
||||||
gospels: 'gospels',
|
gospels: 'gospels',
|
||||||
pentateuch: 'pentateuch',
|
pentateuch: 'pentateuch',
|
||||||
|
|
@ -17,6 +19,7 @@ const scriptureStyles: {[index: string]:string} = {
|
||||||
prophets: 'prophets',
|
prophets: 'prophets',
|
||||||
revelation: 'revelation',
|
revelation: 'revelation',
|
||||||
devotional: 'devotional',
|
devotional: 'devotional',
|
||||||
|
study: 'study',
|
||||||
};
|
};
|
||||||
const getScriptureStyle = (cat: any): string => {
|
const getScriptureStyle = (cat: any): string => {
|
||||||
if (cat in scriptureStyles) {
|
if (cat in scriptureStyles) {
|
||||||
|
|
@ -24,6 +27,16 @@ const getScriptureStyle = (cat: any): string => {
|
||||||
}
|
}
|
||||||
return 'gospels';
|
return 'gospels';
|
||||||
};
|
};
|
||||||
|
const postMetaIcons: {[index :string]:{[index: string]:string}} = {
|
||||||
|
"long-form": {
|
||||||
|
"src": "justify-left",
|
||||||
|
"alt": "Long-form Notes",
|
||||||
|
},
|
||||||
|
"abbreviated": {
|
||||||
|
"src": "list-ul",
|
||||||
|
"alt": "Abbreviated Notes",
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
const base = import.meta.env.BASE_URL;
|
const base = import.meta.env.BASE_URL;
|
||||||
const { notes } = Astro.props;
|
const { notes } = Astro.props;
|
||||||
|
|
@ -31,19 +44,25 @@ const { notes } = Astro.props;
|
||||||
|
|
||||||
<div id="notes-list">
|
<div id="notes-list">
|
||||||
<ul>{notes.map((note: CollectionEntry<'notes'>) => (
|
<ul>{notes.map((note: CollectionEntry<'notes'>) => (
|
||||||
<li>
|
<li class="flex">
|
||||||
<div class="header-image">
|
<div class="header-image">
|
||||||
|
{note.data.scripture ? <aside>{note.data.scripture}</aside> : '' }
|
||||||
<img src={urlfrag(base, note.data.post_image)} class="rounded-md" />
|
<img src={urlfrag(base, note.data.post_image)} class="rounded-md" />
|
||||||
</div>
|
</div>
|
||||||
|
<div class="flex">
|
||||||
<ul class="tags relative">
|
<ul class="tags relative">
|
||||||
{note.data.tags?.filter((tag: string) => (tag != 'notes')).map((tag: string) => (
|
{note.data.tags?.filter((tag: string) => (tag != 'notes')).map((tag: string) => (
|
||||||
<li class:list={[getScriptureStyle(note.data.scripture_category)]}>{titleCase(tag)}</li>
|
<li class:list={[getScriptureStyle(note.data.scripture_category)]}>{titleCase(tag)}</li>
|
||||||
))}</ul>
|
))}</ul>
|
||||||
|
<ul class="tags types relative">
|
||||||
|
{note.data.types?.map((tp: string) => (
|
||||||
|
<li><Icon name={postMetaIcons[tp].src} title={postMetaIcons[tp].alt} desc={postMetaIcons[tp].alt} /></li>
|
||||||
|
))}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
<hgroup>
|
<hgroup>
|
||||||
<h2>
|
<h2><a href={new URL(`${base}notes/${note.id}/`, Astro.url).pathname}>{note.data.title}</a></h2>
|
||||||
<a href={new URL(`${base}notes/${note.id}/`, Astro.url).pathname}>{note.data.title}</a>
|
<h3>{note.data.subtitle}</h3>
|
||||||
</h2>
|
|
||||||
<h3>{note.data.sub_heading}</h3>
|
|
||||||
</hgroup>
|
</hgroup>
|
||||||
<time>{dateFormat(note.data.date)}</time>
|
<time>{dateFormat(note.data.date)}</time>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
|
|
@ -6,15 +6,18 @@ const notes = defineCollection({
|
||||||
loader: glob({base: './src/notes', pattern: '**/*.{md,mdx}'}),
|
loader: glob({base: './src/notes', pattern: '**/*.{md,mdx}'}),
|
||||||
schema: z.object({
|
schema: z.object({
|
||||||
title: z.string(),
|
title: z.string(),
|
||||||
|
subtitle: z.string().optional(),
|
||||||
date: z.string().transform((s) => {
|
date: z.string().transform((s) => {
|
||||||
return new Date(`${s}T00:00:00-0700`);
|
return new Date(`${s}T00:00:00-0700`);
|
||||||
}),
|
}),
|
||||||
|
scripture: z.string().optional(),
|
||||||
meta_description: z.string().optional(),
|
meta_description: z.string().optional(),
|
||||||
sub_heading: z.string().optional(),
|
sub_heading: z.string().optional(),
|
||||||
scripture_category: z.string().default('gospels'),
|
scripture_category: z.string().default('gospels'),
|
||||||
post_image: z.string().optional(),
|
post_image: z.string().optional(),
|
||||||
tags: z.array(z.string()).optional(),
|
tags: z.array(z.string()).optional(),
|
||||||
published: z.boolean().optional().default(true),
|
published: z.boolean().optional().default(true),
|
||||||
|
types: z.array(z.string()).optional(),
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
16
src/icons/bible.svg
Normal 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 |
3
src/icons/blockquote-right.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-blockquote-right" viewBox="0 0 16 16">
|
||||||
|
<path d="M2.5 3a.5.5 0 0 0 0 1h11a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h11a.5.5 0 0 0 0-1zm10.113-5.373a7 7 0 0 0-.445-.275l.21-.352q.183.111.452.287.27.176.51.428.234.246.398.562.164.31.164.692 0 .54-.216.873-.217.328-.721.328-.322 0-.504-.211a.7.7 0 0 1-.188-.463q0-.345.211-.521.205-.182.569-.182h.281a1.7 1.7 0 0 0-.123-.498 1.4 1.4 0 0 0-.252-.37 2 2 0 0 0-.346-.298m-2.168 0A7 7 0 0 0 10 6.352L10.21 6q.183.111.452.287.27.176.51.428.234.246.398.562.164.31.164.692 0 .54-.216.873-.217.328-.721.328-.322 0-.504-.211a.7.7 0 0 1-.188-.463q0-.345.211-.521.206-.182.569-.182h.281a1.8 1.8 0 0 0-.117-.492 1.4 1.4 0 0 0-.258-.375 2 2 0 0 0-.346-.3z"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 864 B |
3
src/icons/book-fill.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-book" viewBox="0 0 16 16">
|
||||||
|
<path d="M1 2.828c.885-.37 2.154-.769 3.388-.893 1.33-.134 2.458.063 3.112.752v9.746c-.935-.53-2.12-.603-3.213-.493-1.18.12-2.37.461-3.287.811zm7.5-.141c.654-.689 1.782-.886 3.112-.752 1.234.124 2.503.523 3.388.893v9.923c-.918-.35-2.107-.692-3.287-.81-1.094-.111-2.278-.039-3.213.492zM8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 770 B |
3
src/icons/book.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-book" viewBox="0 0 16 16">
|
||||||
|
<path d="M1 2.828c.885-.37 2.154-.769 3.388-.893 1.33-.134 2.458.063 3.112.752v9.746c-.935-.53-2.12-.603-3.213-.493-1.18.12-2.37.461-3.287.811zm7.5-.141c.654-.689 1.782-.886 3.112-.752 1.234.124 2.503.523 3.388.893v9.923c-.918-.35-2.107-.692-3.287-.81-1.094-.111-2.278-.039-3.213.492zM8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 771 B |
3
src/icons/c-circle.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-c-circle" viewBox="0 0 16 16">
|
||||||
|
<path d="M1 8a7 7 0 1 0 14 0A7 7 0 0 0 1 8m15 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0M8.146 4.992c-1.212 0-1.927.92-1.927 2.502v1.06c0 1.571.703 2.462 1.927 2.462.979 0 1.641-.586 1.729-1.418h1.295v.093c-.1 1.448-1.354 2.467-3.03 2.467-2.091 0-3.269-1.336-3.269-3.603V7.482c0-2.261 1.201-3.638 3.27-3.638 1.681 0 2.935 1.054 3.029 2.572v.088H9.875c-.088-.879-.768-1.512-1.729-1.512"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 512 B |
3
src/icons/calendar2-check-fill.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-calendar2-check-fill" viewBox="0 0 16 16">
|
||||||
|
<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5m9.954 3H2.545c-.3 0-.545.224-.545.5v1c0 .276.244.5.545.5h10.91c.3 0 .545-.224.545-.5v-1c0-.276-.244-.5-.546-.5m-2.6 5.854a.5.5 0 0 0-.708-.708L7.5 10.793 6.354 9.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0z"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 507 B |
3
src/icons/chevron-down.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">
|
||||||
|
<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 290 B |
3
src/icons/chevron-up.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-up" viewBox="0 0 16 16">
|
||||||
|
<path fill-rule="evenodd" d="M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708z"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 268 B |
|
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 205 B |
4
src/icons/eye.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-fill" viewBox="0 0 16 16">
|
||||||
|
<path d="M10.5 8a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0"/>
|
||||||
|
<path d="M0 8s3-5.5 8-5.5S16 8 16 8s-3 5.5-8 5.5S0 8 0 8m8 3.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 295 B |
3
src/icons/file-text-fill.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-file-text-fill" viewBox="0 0 16 16">
|
||||||
|
<path d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2M5 4h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1 0-1m-.5 2.5A.5.5 0 0 1 5 6h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5M5 8h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1 0-1m0 2h3a.5.5 0 0 1 0 1H5a.5.5 0 0 1 0-1"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 397 B |
3
src/icons/fonts.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-fonts" viewBox="0 0 16 16">
|
||||||
|
<path d="M12.258 3h-8.51l-.083 2.46h.479c.26-1.544.758-1.783 2.693-1.845l.424-.013v7.827c0 .663-.144.82-1.3.923v.52h4.082v-.52c-1.162-.103-1.306-.26-1.306-.923V3.602l.431.013c1.934.062 2.434.301 2.693 1.846h.479z"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 349 B |
3
src/icons/house-door-fill.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-house-door-fill" viewBox="0 0 16 16">
|
||||||
|
<path d="M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 421 B |
3
src/icons/justify-left.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-justify-left" viewBox="0 0 16 16">
|
||||||
|
<path fill-rule="evenodd" d="M2 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5m0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5m0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 413 B |
3
src/icons/key-fill.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-key-fill" viewBox="0 0 16 16">
|
||||||
|
<path d="M3.5 11.5a3.5 3.5 0 1 1 3.163-5H14L15.5 8 14 9.5l-1-1-1 1-1-1-1 1-1-1-1 1H6.663a3.5 3.5 0 0 1-3.163 2M2.5 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 284 B |
3
src/icons/list-ul.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-list-ul" viewBox="0 0 16 16">
|
||||||
|
<path fill-rule="evenodd" d="M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m-3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 441 B |
3
src/icons/ui-checks-grid.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-ui-checks-grid" viewBox="0 0 16 16">
|
||||||
|
<path d="M2 10h3a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1m9-9h3a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-3a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1m0 9a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1zm0-10a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h3a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM2 9a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h3a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2zm7 2a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-3a2 2 0 0 1-2-2zM0 2a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm5.354.854a.5.5 0 1 0-.708-.708L3 3.793l-.646-.647a.5.5 0 1 0-.708.708l1 1a.5.5 0 0 0 .708 0z"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 726 B |
3
src/icons/ui-radios.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-ui-radios" viewBox="0 0 16 16">
|
||||||
|
<path d="M7 2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5zM0 12a3 3 0 1 1 6 0 3 3 0 0 1-6 0m7-1.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5zm0-5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5m0 8a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5M3 1a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 4.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 533 B |
3
src/icons/universal-access.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-universal-access" viewBox="0 0 16 16">
|
||||||
|
<path d="M9.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M6 5.5l-4.535-.442A.531.531 0 0 1 1.531 4H14.47a.531.531 0 0 1 .066 1.058L10 5.5V9l.452 6.42a.535.535 0 0 1-1.053.174L8.243 9.97c-.064-.252-.422-.252-.486 0l-1.156 5.624a.535.535 0 0 1-1.053-.174L6 9z"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 401 B |
13
src/layouts/Content.astro
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
import Layout from '../layouts/Layout.astro';
|
||||||
|
const base = import.meta.env.BASE_URL;
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<Layout>
|
||||||
|
<article class="content study-notes">
|
||||||
|
<div class="content-body">
|
||||||
|
<slot />
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</Layout>
|
||||||
|
|
@ -2,130 +2,56 @@
|
||||||
//import "../global.css";
|
//import "../global.css";
|
||||||
import Header from "../components/Header.astro";
|
import Header from "../components/Header.astro";
|
||||||
import Footer from "../components/Footer.astro";
|
import Footer from "../components/Footer.astro";
|
||||||
|
import Meta from "../components/Meta.astro";
|
||||||
|
|
||||||
import { urlfrag } from "../utils/path.js";
|
import { urlfrag } from "../utils/path.js";
|
||||||
|
|
||||||
const { title } = Astro.props;
|
const { title, image } = Astro.props;
|
||||||
const base = import.meta.env.BASE_URL;
|
const base = import.meta.env.BASE_URL;
|
||||||
---
|
---
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<script is:inline>
|
||||||
|
function th() {
|
||||||
|
var cl = document.documentElement.classList;
|
||||||
|
af_enabled = 'af_enabled' in localStorage && localStorage.af_enabled === '1' ? true : false;
|
||||||
|
af_mode = 'af_mode' in localStorage ? localStorage.af_mode : '';
|
||||||
|
theme = 'theme' in localStorage ? localStorage.theme : '';
|
||||||
|
|
||||||
|
if (theme === '' || theme === 'system') {
|
||||||
|
theme = window.matchMedia('(prefers-color-scheme: dark)') ? 'dark' : 'light';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (af_enabled) {
|
||||||
|
switch (af_mode) {
|
||||||
|
case 'df':
|
||||||
|
cl.add('df');
|
||||||
|
return;
|
||||||
|
case 'hc':
|
||||||
|
cl.add('hc');
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (theme === 'dark') {
|
||||||
|
cl.add('dark');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
th();
|
||||||
|
</script>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<meta name="theme-color" content="#28303c" />
|
||||||
|
<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 is:inline>
|
|
||||||
function hasLocalStorage() {
|
|
||||||
try {
|
|
||||||
var ls = localStorage;
|
|
||||||
var key = "__test";
|
|
||||||
ls.setItem(key, key);
|
|
||||||
ls.removeItem(key);
|
|
||||||
return true;
|
|
||||||
} catch (e) {
|
|
||||||
return (
|
|
||||||
e instanceof DOMException &&
|
|
||||||
e.name === "QuotaExceededError" &&
|
|
||||||
localStorage &&
|
|
||||||
localStorage.length !== 0
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
var theme = 'light';
|
|
||||||
if (hasLocalStorage()) {
|
|
||||||
theme = (('theme' in localStorage) && localStorage.theme !== 'undefined') ? localStorage.theme : 'light';
|
|
||||||
}
|
|
||||||
switch (theme) {
|
|
||||||
case 'light':
|
|
||||||
document.documentElement.classList.remove('dark');
|
|
||||||
break
|
|
||||||
case 'dark':
|
|
||||||
document.documentElement.classList.toggle('dark', true);
|
|
||||||
break
|
|
||||||
default:
|
|
||||||
if (matchMedia('(prefers-color-scheme: dark').matches) {
|
|
||||||
document.documentElement.classList.toggle('dark', true);
|
|
||||||
} else {
|
|
||||||
document.documentElement.classList.remove('dark');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<script>
|
<script>
|
||||||
|
import { theme } from '../utils/theme.ts';
|
||||||
class ThemeToggler {
|
theme();
|
||||||
elements: NodeListOf<Element>;
|
|
||||||
btnState: string = 'light';
|
|
||||||
|
|
||||||
constructor() {
|
|
||||||
this.toggleClass();
|
|
||||||
if ('theme' in localStorage && localStorage.theme !== 'undefined') {
|
|
||||||
this.btnState = localStorage.theme;
|
|
||||||
} else {
|
|
||||||
this.btnState = 'system';
|
|
||||||
}
|
|
||||||
this.elements = document.querySelectorAll('[data-toggle-theme]');
|
|
||||||
this.elements.forEach((e) => {
|
|
||||||
this.setState(e, this.btnState);
|
|
||||||
e.addEventListener('click', this);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
handleEvent() {
|
|
||||||
const state = localStorage.theme;
|
|
||||||
this.elements.forEach((e) => {
|
|
||||||
this.setNextState(e, state);
|
|
||||||
const s = this.getState(e);
|
|
||||||
if (s != localStorage.theme) {
|
|
||||||
localStorage.theme = this.getState(e);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
this.toggleClass();
|
|
||||||
}
|
|
||||||
|
|
||||||
getState(element: Element): string {
|
|
||||||
const attr = element.getAttribute('data-toggle-theme');
|
|
||||||
return attr != null ? attr : 'light';
|
|
||||||
}
|
|
||||||
|
|
||||||
getSysTheme(): string {
|
|
||||||
return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
|
|
||||||
}
|
|
||||||
|
|
||||||
setState(element: Element, state: string) {
|
|
||||||
element.setAttribute('data-toggle-theme', state);
|
|
||||||
}
|
|
||||||
|
|
||||||
setNextState(element: Element, state: string) {
|
|
||||||
const states = ['light', 'dark', 'system'];
|
|
||||||
let next = states.indexOf(state) + 1;
|
|
||||||
if (next === states.length) {
|
|
||||||
next = 0;
|
|
||||||
}
|
|
||||||
element.setAttribute('data-toggle-theme', states[next]);
|
|
||||||
}
|
|
||||||
|
|
||||||
sysTheme(): string {
|
|
||||||
return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
|
|
||||||
}
|
|
||||||
|
|
||||||
toggleClass() {
|
|
||||||
const ele = document.documentElement;
|
|
||||||
switch (localStorage.theme) {
|
|
||||||
case 'light':
|
|
||||||
ele.classList.remove('dark');
|
|
||||||
break;
|
|
||||||
case 'dark':
|
|
||||||
ele.classList.add('dark');
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
ele.classList.toggle('dark', this.getSysTheme() === 'dark');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
new ThemeToggler();
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body class="flex flex-col min-h-screen">
|
<body class="flex flex-col min-h-screen">
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
---
|
---
|
||||||
date: "2025-11-02"
|
date: "2025-11-02"
|
||||||
title: "Psalm 23"
|
title: Entering God's Rest
|
||||||
meta_description: Psalm 23
|
scripture: "Psalm 23"
|
||||||
sub_heading: Entering God's Rest
|
|
||||||
session: 11
|
|
||||||
scripture_category: wisdom
|
scripture_category: wisdom
|
||||||
|
session: 11
|
||||||
|
meta_description: Psalm 23
|
||||||
post_image: /images/headers/1990265448189902848-cropped.jpg
|
post_image: /images/headers/1990265448189902848-cropped.jpg
|
||||||
image_alt: Shepherd of his flock (AI).
|
image_alt: Shepherd of his flock (AI).
|
||||||
types: ["abbreviated"]
|
types: ["abbreviated"]
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
---
|
---
|
||||||
date: "2025-11-09"
|
date: "2025-11-09"
|
||||||
title: "Psalm 139"
|
title: God Knows Our Depths
|
||||||
meta_description: Psalm 139
|
scripture: "Psalm 139"
|
||||||
sub_heading: God Knows Our Depths
|
|
||||||
session: 12
|
|
||||||
scripture_category: wisdom
|
scripture_category: wisdom
|
||||||
|
meta_description: Psalm 139
|
||||||
post_image: /images/headers/shepherd-praying-cropped.jpg
|
post_image: /images/headers/shepherd-praying-cropped.jpg
|
||||||
|
session: 12
|
||||||
types: ["abbreviated"]
|
types: ["abbreviated"]
|
||||||
book: psalms
|
book: psalms
|
||||||
chapters: [139]
|
chapters: [139]
|
||||||
|
|
@ -148,4 +148,8 @@ tags:
|
||||||
|
|
||||||
## Sources
|
## Sources
|
||||||
|
|
||||||
1. <a name="source-1" class="source">Barry, John D., Douglas Mangum, Derek R. Brown, Michael S. Heiser, Miles Custis, Elliot Ritzema, Matthew M. Whitehead, Michael R. Grigoni, and David Bomar. 2012, 2016. Faithlife Study Bible. Bellingham, WA: Lexham Press.</a>
|
1. <a name="source-1" class="source">Barry, John D., Douglas Mangum, Derek R. Brown, Michael S. Heiser, Miles Custis, Elliot Ritzema, Matthew M. Whitehead, Michael R. Grigoni, and David Bomar. 2012, 2016. Faithlife Study Bible. Bellingham, WA: Lexham Press.</a>
|
||||||
|
|
||||||
|
## Copyright and License
|
||||||
|
|
||||||
|
Copyright © Benjamin A. Shelton. Page contents licensed under [Creative Commons BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/). Other pages may be licensed under different terms.
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
---
|
---
|
||||||
date: "2025-11-16"
|
date: "2025-11-16"
|
||||||
title: "Psalm 5"
|
title: David's Plea for Justice
|
||||||
meta_description: Psalm 5
|
scripture: "Psalm 5"
|
||||||
sub_heading: David's Plea for Justice
|
|
||||||
session: 13
|
|
||||||
scripture_category: wisdom
|
scripture_category: wisdom
|
||||||
|
meta_description: Psalm 5
|
||||||
post_image: /images/headers/king-david-cropped.jpg
|
post_image: /images/headers/king-david-cropped.jpg
|
||||||
|
session: 13
|
||||||
types: ["abbreviated"]
|
types: ["abbreviated"]
|
||||||
book: psalms
|
book: psalms
|
||||||
chapter: 5
|
chapter: 5
|
||||||
|
|
@ -189,4 +189,8 @@ tags:
|
||||||
|
|
||||||
## Hebrew Sources
|
## Hebrew Sources
|
||||||
|
|
||||||
Christo van der Merwe, The Lexham Hebrew-English Interlinear Bible (Bellingham, WA: Lexham Press, 2004), Ps 5.
|
Christo van der Merwe, The Lexham Hebrew-English Interlinear Bible (Bellingham, WA: Lexham Press, 2004), Ps 5.
|
||||||
|
|
||||||
|
## Copyright and License
|
||||||
|
|
||||||
|
Copyright © Benjamin A. Shelton. Page contents licensed under [Creative Commons BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/). Other pages may be licensed under different terms.
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
---
|
---
|
||||||
date: "2025-11-23"
|
date: "2025-11-23"
|
||||||
title: "Psalms 42, 43"
|
title: Why are You Cast Down, My Soul?
|
||||||
meta_description: Psalms 42 and 43
|
scripture: "Psalm 42, 43"
|
||||||
sub_heading: Why are You Cast Down, My Soul?
|
|
||||||
session: 14
|
|
||||||
scripture_category: wisdom
|
scripture_category: wisdom
|
||||||
|
meta_description: Psalm 42 and 43
|
||||||
post_image: /images/headers/prostrate-shepherd-1.jpg
|
post_image: /images/headers/prostrate-shepherd-1.jpg
|
||||||
|
session: 14
|
||||||
types: ["abbreviated"]
|
types: ["abbreviated"]
|
||||||
book: psalms
|
book: psalms
|
||||||
chapters: [42, 43]
|
chapters: [42, 43]
|
||||||
|
|
@ -105,4 +105,8 @@ Now I urge you, brothers, to watch out for those who create divisions and obstac
|
||||||
## Sources
|
## Sources
|
||||||
|
|
||||||
1. <a class="source" name="source-1">Crossway Bibles, The ESV Study Bible (Wheaton, IL: Crossway Bibles, 2008), 989, 990.</a>
|
1. <a class="source" name="source-1">Crossway Bibles, The ESV Study Bible (Wheaton, IL: Crossway Bibles, 2008), 989, 990.</a>
|
||||||
2. <a class="source" name="source-2">Mitchell Dahood S.J., Psalms I: 1-50: Introduction, Translation, and Notes, vol. 16, Anchor Yale Bible (New Haven; London: Yale University Press, 2008), 259-262.</a>
|
2. <a class="source" name="source-2">Mitchell Dahood S.J., Psalms I: 1-50: Introduction, Translation, and Notes, vol. 16, Anchor Yale Bible (New Haven; London: Yale University Press, 2008), 259-262.</a>
|
||||||
|
|
||||||
|
## Copyright and License
|
||||||
|
|
||||||
|
Copyright © Benjamin A. Shelton. Page contents licensed under [Creative Commons BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/). Other pages may be licensed under different terms.
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
date: "2025-11-30"
|
date: "2025-11-30"
|
||||||
title: "Deep Dive: Psalm 146"
|
title: Put Not Your Trust in Princes
|
||||||
meta_description: Psalm 146
|
scripture: "Psalm 146"
|
||||||
sub_heading: Put Not Your Trust in Princes
|
|
||||||
scripture_category: wisdom
|
scripture_category: wisdom
|
||||||
|
meta_description: Psalm 146
|
||||||
post_image: /images/headers/throne-room-cropped.jpg
|
post_image: /images/headers/throne-room-cropped.jpg
|
||||||
types: ["abbreviated"]
|
types: ["abbreviated"]
|
||||||
book: "psalms"
|
book: "psalms"
|
||||||
|
|
@ -161,4 +161,8 @@ For I know the plans I have for you, declares the LORD, plans to prosper you and
|
||||||
|
|
||||||
1. <a class="source" name="source-1">Mitchell Dahood S.J., Psalms III: 101-150: Introduction, Translation, and Notes with an Appendix: The Grammar of the Psalter, vol. 17A, Anchor Yale Bible (New Haven; London: Yale University Press, 2008), 340–341.</a>
|
1. <a class="source" name="source-1">Mitchell Dahood S.J., Psalms III: 101-150: Introduction, Translation, and Notes with an Appendix: The Grammar of the Psalter, vol. 17A, Anchor Yale Bible (New Haven; London: Yale University Press, 2008), 340–341.</a>
|
||||||
2. <a class="source" name="source-2">Francis Brown, Samuel Rolles Driver, and Charles Augustus Briggs, Enhanced Brown-Driver-Briggs Hebrew and English Lexicon (Oxford: Clarendon Press, 1977), 105, 736, 960.</a>
|
2. <a class="source" name="source-2">Francis Brown, Samuel Rolles Driver, and Charles Augustus Briggs, Enhanced Brown-Driver-Briggs Hebrew and English Lexicon (Oxford: Clarendon Press, 1977), 105, 736, 960.</a>
|
||||||
3. <a class="source" name="source-3">Kevin R. Warstler, “Psalms,” in CSB Study Bible: Notes, ed. Edwin A. Blum and Trevin Wax (Nashville, TN: Holman Bible Publishers, 2017), 941.</a>
|
3. <a class="source" name="source-3">Kevin R. Warstler, “Psalms,” in CSB Study Bible: Notes, ed. Edwin A. Blum and Trevin Wax (Nashville, TN: Holman Bible Publishers, 2017), 941.</a>
|
||||||
|
|
||||||
|
## Copyright and License
|
||||||
|
|
||||||
|
Copyright © Benjamin A. Shelton. Page contents licensed under [Creative Commons BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/). Other pages may be licensed under different terms.
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
---
|
---
|
||||||
date: "2025-12-07"
|
date: "2025-12-07"
|
||||||
title: "Matthew 2"
|
title: "New Testament Introduction"
|
||||||
meta_description: Matthew 2
|
subtitle: "The Signs of a King"
|
||||||
sub_heading: "Signs of a King (and New Testament Introduction)"
|
scripture: "Matthew 2"
|
||||||
session: 3
|
|
||||||
scripture_category: gospels
|
scripture_category: gospels
|
||||||
post_image: /images/headers/mary-and-joseph-cropped.jpg
|
post_image: /images/headers/mary-and-joseph-cropped.jpg
|
||||||
|
meta_description: "Matthew 2"
|
||||||
|
session: 3
|
||||||
types: ["abbreviated"]
|
types: ["abbreviated"]
|
||||||
book: matthew
|
book: matthew
|
||||||
chapters: [2]
|
chapters: [2]
|
||||||
|
|
@ -162,4 +163,8 @@ These resources are provided as an addition to what we discussed. I do not neces
|
||||||
|
|
||||||
## Additional Sources
|
## Additional Sources
|
||||||
|
|
||||||
1. <a class="source" name="source-1">Biblical Studies Press, The NET Bible, Second Edition (Denmark: Thomas Nelson, 2019), 2427.</a>
|
1. <a class="source" name="source-1">Biblical Studies Press, The NET Bible, Second Edition (Denmark: Thomas Nelson, 2019), 2427.</a>
|
||||||
|
|
||||||
|
## Copyright and License
|
||||||
|
|
||||||
|
Copyright © Benjamin A. Shelton. Page contents licensed under [Creative Commons BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/). Other pages may be licensed under different terms.
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
---
|
---
|
||||||
date: "2025-12-14"
|
date: "2025-12-14"
|
||||||
title: "Matthew 3-4:11"
|
title: "Jesus' Ministry Begins"
|
||||||
meta_description: "Matthew 3-4:11"
|
subtitle: "Baptism, Early Ministry, and Temptation of the Christ"
|
||||||
sub_heading: "Jesus' Baptism, Early Ministry, and Temptation"
|
scripture: "Matthew 3-4:11"
|
||||||
session: 1
|
|
||||||
scripture_category: gospels
|
scripture_category: gospels
|
||||||
|
meta_description: "Matthew 3-4:11"
|
||||||
post_image: /images/headers/baptism-of-jesus-cropped.jpg
|
post_image: /images/headers/baptism-of-jesus-cropped.jpg
|
||||||
|
session: 1
|
||||||
types: ["abbreviated"]
|
types: ["abbreviated"]
|
||||||
book: "matthew"
|
book: "matthew"
|
||||||
chapters: [3, 4]
|
chapters: [3, 4]
|
||||||
|
|
@ -105,4 +106,8 @@ Is any one of you sick? He should call the elders of the church to pray over him
|
||||||
1. <a class="source" name="source-1">John D. Barry et al., Faithlife Study Bible (Bellingham, WA: Lexham Press, 2012, 2016), Mt 3:1, Mt 3:6.</a>
|
1. <a class="source" name="source-1">John D. Barry et al., Faithlife Study Bible (Bellingham, WA: Lexham Press, 2012, 2016), Mt 3:1, Mt 3:6.</a>
|
||||||
2. <a class="source" name="source-2">Charles L. Quarles, "Matthew," in CSB Study Bible: Notes, ed. Edwin A. Blum and Trevin Wax (Nashville, TN: Holman Bible Publishers, 2017), 1502.</a>
|
2. <a class="source" name="source-2">Charles L. Quarles, "Matthew," in CSB Study Bible: Notes, ed. Edwin A. Blum and Trevin Wax (Nashville, TN: Holman Bible Publishers, 2017), 1502.</a>
|
||||||
3. <a class="source" name="source-3">Biblical Studies Press, The NET Bible, Second Edition (Denmark: Thomas Nelson, 2019), Mt 3:14, 17.</a>
|
3. <a class="source" name="source-3">Biblical Studies Press, The NET Bible, Second Edition (Denmark: Thomas Nelson, 2019), Mt 3:14, 17.</a>
|
||||||
4. <a class="source" name="source-4">Crossway Bibles, The ESV Study Bible (Wheaton, IL: Crossway Bibles, 2008), 1825.</a>
|
4. <a class="source" name="source-4">Crossway Bibles, The ESV Study Bible (Wheaton, IL: Crossway Bibles, 2008), 1825.</a>
|
||||||
|
|
||||||
|
## Copyright and License
|
||||||
|
|
||||||
|
Copyright © Benjamin A. Shelton. Page contents licensed under [Creative Commons BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/). Other pages may be licensed under different terms.
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
---
|
---
|
||||||
date: "2025-12-21"
|
date: "2025-12-21"
|
||||||
title: "Matthew 4:12-25"
|
title: "Jesus' Ministry Begins"
|
||||||
meta_description: "Matthew 4:12-25"
|
subtitle: "The First Disciples and the Great Crowds"
|
||||||
sub_heading: "Jesus' Ministry Begins: First Disciples and the Great Crowds"
|
scripture: "Matthew 4:12-25"
|
||||||
session: 2
|
|
||||||
scripture_category: gospels
|
scripture_category: gospels
|
||||||
|
meta_description: "Matthew 4:12-25"
|
||||||
post_image: /images/headers/jesus-beginning-ministry-galilee-crowds-cropped.jpg
|
post_image: /images/headers/jesus-beginning-ministry-galilee-crowds-cropped.jpg
|
||||||
|
session: 2
|
||||||
types: ["abbreviated", "long-form"]
|
types: ["abbreviated", "long-form"]
|
||||||
book: matthew
|
book: matthew
|
||||||
chapters: [4]
|
chapters: [4]
|
||||||
|
|
@ -157,4 +158,8 @@ When we then consider what God has done for us, we recognize the *bountiful* ble
|
||||||
|
|
||||||
## Sources
|
## Sources
|
||||||
|
|
||||||
1. <a class="source" name="#source-1">Crossway Bibles, The ESV Study Bible (Wheaton, IL: Crossway Bibles, 2008), 1826, 1827.</a>
|
1. <a class="source" name="#source-1">Crossway Bibles, The ESV Study Bible (Wheaton, IL: Crossway Bibles, 2008), 1826, 1827.</a>
|
||||||
|
|
||||||
|
## Copyright and License
|
||||||
|
|
||||||
|
Copyright © Benjamin A. Shelton. Page contents licensed under [Creative Commons BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/). Other pages may be licensed under different terms.
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
---
|
---
|
||||||
date: "2025-12-28"
|
date: "2025-12-28"
|
||||||
title: "Matthew 5:1-26"
|
title: "The Sermon on the Mount"
|
||||||
meta_description: "Matthew 5:1-26"
|
subtitle: "Part 1"
|
||||||
sub_heading: "The Sermon on the Mount: Part 1"
|
scripture: "Matthew 5:1-26"
|
||||||
session: 4
|
|
||||||
scripture_category: gospels
|
scripture_category: gospels
|
||||||
|
meta_description: "Matthew 5:1-26"
|
||||||
post_image: /images/headers/jesus-sermon-on-the-mount-1.jpg
|
post_image: /images/headers/jesus-sermon-on-the-mount-1.jpg
|
||||||
|
session: 4
|
||||||
types: ["abbreviated", "long-form"]
|
types: ["abbreviated", "long-form"]
|
||||||
book: matthew
|
book: matthew
|
||||||
chapters: [5]
|
chapters: [5]
|
||||||
|
|
@ -206,4 +207,8 @@ And in many cases, this is the lesson that Jesus is giving us in these sections,
|
||||||
## Sources
|
## Sources
|
||||||
|
|
||||||
1. <a class="source" name="source-1">https://www.newadvent.org/fathers/16011.htm</a>
|
1. <a class="source" name="source-1">https://www.newadvent.org/fathers/16011.htm</a>
|
||||||
2. <a class="source" name="source-2">William Arndt et al., A Greek-English Lexicon of the New Testament and Other Early Christian Literature (Chicago: University of Chicago Press, 2000), 44, 611, 795, 829, 861, 896.</a>
|
2. <a class="source" name="source-2">William Arndt et al., A Greek-English Lexicon of the New Testament and Other Early Christian Literature (Chicago: University of Chicago Press, 2000), 44, 611, 795, 829, 861, 896.</a>
|
||||||
|
|
||||||
|
## Copyright and License
|
||||||
|
|
||||||
|
Copyright © Benjamin A. Shelton. Page contents licensed under [Creative Commons BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/). Other pages may be licensed under different terms.
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
---
|
---
|
||||||
date: "2026-01-04"
|
date: "2026-01-04"
|
||||||
title: "Matthew 5:27-32"
|
title: "The Sermon on the Mount"
|
||||||
meta_description: "Matthew 5:27-32"
|
subtitle: "Part 2"
|
||||||
sub_heading: "The Sermon on the Mount: Part 2"
|
|
||||||
session: 4
|
session: 4
|
||||||
|
scripture: "Matthew 5:27-32"
|
||||||
scripture_category: gospels
|
scripture_category: gospels
|
||||||
|
meta_description: "Matthew 5:27-32"
|
||||||
post_image: /images/headers/jesus-sermon-on-the-mount-2.jpg
|
post_image: /images/headers/jesus-sermon-on-the-mount-2.jpg
|
||||||
tags:
|
tags:
|
||||||
- notes
|
- notes
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
---
|
---
|
||||||
date: "2026-01-11"
|
date: "2026-01-11"
|
||||||
title: "Matthew 5:33-48"
|
title: "The Sermon on the Mount"
|
||||||
meta_description: "Matthew 5:33-48"
|
subtitle: "Part 3"
|
||||||
sub_heading: "The Sermon on the Mount: Part 3"
|
|
||||||
session: 4
|
session: 4
|
||||||
|
scripture: "Matthew 5:33-48"
|
||||||
scripture_category: gospels
|
scripture_category: gospels
|
||||||
|
meta_description: "Matthew 5:33-48"
|
||||||
post_image: /images/headers/jesus-sermon-on-the-mount-3.jpg
|
post_image: /images/headers/jesus-sermon-on-the-mount-3.jpg
|
||||||
tags:
|
tags:
|
||||||
- notes
|
- notes
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
---
|
---
|
||||||
date: "2026-01-18"
|
date: "2026-01-18"
|
||||||
title: "Matthew 6:1-15"
|
title: "The Sermon on the Mount"
|
||||||
meta_description: "Matthew 6:1-15"
|
subtitle: "Part 4"
|
||||||
sub_heading: "The Sermon on the Mount: Part 4"
|
|
||||||
session: 5
|
session: 5
|
||||||
|
scripture: "Matthew 6:1-15"
|
||||||
scripture_category: gospels
|
scripture_category: gospels
|
||||||
|
meta_description: "Matthew 6:1-15"
|
||||||
post_image: /images/headers/jesus-sermon-on-the-mount-4.jpg
|
post_image: /images/headers/jesus-sermon-on-the-mount-4.jpg
|
||||||
tags:
|
tags:
|
||||||
- notes
|
- notes
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
---
|
---
|
||||||
date: "2026-02-01"
|
date: "2026-02-01"
|
||||||
date_override: "1 February, 2026"
|
title: "The Sermon on the Mount"
|
||||||
title: "Matthew 6:16-24"
|
subtitle: "Part 5"
|
||||||
meta_description: "Matthew 6:16-24"
|
|
||||||
sub_heading: "The Sermon on the Mount: Part 5"
|
|
||||||
session: 5
|
session: 5
|
||||||
|
scripture: "Matthew 6:16-24"
|
||||||
scripture_category: gospels
|
scripture_category: gospels
|
||||||
|
meta_description: "Matthew 6:16-24"
|
||||||
post_image: /images/headers/jesus-sermon-on-the-mount-5.jpg
|
post_image: /images/headers/jesus-sermon-on-the-mount-5.jpg
|
||||||
tags:
|
tags:
|
||||||
- notes
|
- notes
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
---
|
---
|
||||||
date: "2026-02-08"
|
date: "2026-02-08"
|
||||||
title: "Matthew 7:6; 6:25-34"
|
title: "The Sermon on the Mount"
|
||||||
meta_description: "Matthew 7:6; 6:25-34"
|
subtitle: "Part 6"
|
||||||
sub_heading: "The Sermon on the Mount: Part 6"
|
|
||||||
session: "5-6"
|
session: "5-6"
|
||||||
|
scripture: "Matthew 7:6; 6:25-34"
|
||||||
scripture_category: gospels
|
scripture_category: gospels
|
||||||
|
meta_description: "Matthew 7:6; 6:25-34"
|
||||||
post_image: /images/headers/jesus-sermon-on-the-mount-6.jpg
|
post_image: /images/headers/jesus-sermon-on-the-mount-6.jpg
|
||||||
tags:
|
tags:
|
||||||
- notes
|
- notes
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,14 @@
|
||||||
---
|
---
|
||||||
date: "2026-02-15"
|
date: "2026-02-15"
|
||||||
title: Matthew 7:1-5, 7-29
|
title: "The Sermon on the Mount"
|
||||||
meta_description: "Matthew 7:1-5, 7-29"
|
subtitle: "Part 7"
|
||||||
sub_heading: "The Sermon on the Mount: Part 7"
|
|
||||||
session: 6
|
session: 6
|
||||||
|
scripture: Matthew 7:1-5, 7-29
|
||||||
|
scripture_category: gospels
|
||||||
|
meta_description: "Matthew 7:1-5, 7-29"
|
||||||
|
post_image: /images/headers/jesus-sermon-on-the-mount-7.jpg
|
||||||
book: matthew
|
book: matthew
|
||||||
chapter: 7
|
chapter: 7
|
||||||
scripture_category: gospels
|
|
||||||
post_image: /images/headers/jesus-sermon-on-the-mount-7.jpg
|
|
||||||
tags:
|
tags:
|
||||||
- notes
|
- notes
|
||||||
- matthew
|
- matthew
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,14 @@
|
||||||
---
|
---
|
||||||
date: "2026-02-22"
|
date: "2026-02-22"
|
||||||
title: "Matthew 7:21-29; 8:1-4"
|
title: "The Sermon Ends"
|
||||||
meta_description: "Matthew 7:21-29; 8:1-4"
|
subtitle: "Jesus' Healing Demonstrated"
|
||||||
sub_heading: "The Sermon Ends; Jesus' Healing Demonstrated"
|
|
||||||
session: "6-7"
|
session: "6-7"
|
||||||
|
scripture: "Matthew 7:21-29; 8:1-4"
|
||||||
|
scripture_category: gospels
|
||||||
|
meta_description: "Matthew 7:21-29; 8:1-4"
|
||||||
|
post_image: /images/headers/jesus-heals-a-man.jpg
|
||||||
book: matthew
|
book: matthew
|
||||||
chapter: 7
|
chapter: 7
|
||||||
scripture_category: gospels
|
|
||||||
post_image: /images/headers/jesus-heals-a-man.jpg
|
|
||||||
tags:
|
tags:
|
||||||
- notes
|
- notes
|
||||||
- matthew
|
- matthew
|
||||||
|
|
|
||||||