Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
5237aca552 |
2
.gitignore
vendored
|
|
@ -1,5 +1,3 @@
|
||||||
/.astro/
|
/.astro/
|
||||||
/.env
|
|
||||||
/.ssh/
|
|
||||||
/dist/
|
/dist/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|
|
||||||
17
Makefile
|
|
@ -1,21 +1,8 @@
|
||||||
|
|
||||||
revision := $(shell git rev-parse HEAD | head -c 8)
|
all: build deploy
|
||||||
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,24 +1,21 @@
|
||||||
// @ts-check
|
// @ts-check
|
||||||
import { defineConfig, envField } from 'astro/config';
|
import { defineConfig } 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 { ScriptureMark } from './src/utils/remark';
|
||||||
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://itsjustus.faith",
|
site: "https://bashelton.com",
|
||||||
integrations: [mdx(), icon(), sitemap()],
|
integrations: [mdx()],
|
||||||
markdown: {
|
markdown: {
|
||||||
processor: unified({
|
processor: unified({
|
||||||
remarkPlugins: [remarkToc],
|
|
||||||
rehypePlugins: [ScriptureLinks],
|
rehypePlugins: [ScriptureLinks],
|
||||||
|
remarkPlugins: [ScriptureMark],
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
vite: {
|
vite: {
|
||||||
|
|
@ -28,11 +25,4 @@ 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})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
3818
package-lock.json
generated
16
package.json
|
|
@ -1,30 +1,20 @@
|
||||||
{
|
{
|
||||||
"name": "astro-sundays",
|
"name": "astro-sundays",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.1.0",
|
"version": "0.0.1",
|
||||||
"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/markdown-remark": "^7.3.5",
|
"@astrojs/mdx": "^6.0.1",
|
||||||
"@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": "^7.4.5",
|
"astro": "^6.4.2",
|
||||||
"astro-icon": "^1.1.5",
|
|
||||||
"remark-toc": "^9.0.0",
|
|
||||||
"sanitize-html": "^2.18.2",
|
|
||||||
"tailwindcss": "^4.3.0"
|
"tailwindcss": "^4.3.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 135 KiB |
|
Before Width: | Height: | Size: 347 KiB |
|
Before Width: | Height: | Size: 327 KiB |
|
Before Width: | Height: | Size: 320 KiB |
|
Before Width: | Height: | Size: 391 KiB |
|
Before Width: | Height: | Size: 390 KiB |
|
Before Width: | Height: | Size: 461 KiB |
|
Before Width: | Height: | Size: 324 KiB |
|
Before Width: | Height: | Size: 394 KiB |
|
Before Width: | Height: | Size: 379 KiB |
|
Before Width: | Height: | Size: 497 KiB |
|
Before Width: | Height: | Size: 496 KiB |
|
Before Width: | Height: | Size: 563 KiB |
|
Before Width: | Height: | Size: 463 KiB |
|
Before Width: | Height: | Size: 658 KiB |
|
Before Width: | Height: | Size: 598 KiB |
|
Before Width: | Height: | Size: 357 KiB |
|
Before Width: | Height: | Size: 581 KiB |
|
Before Width: | Height: | Size: 927 KiB |
|
Before Width: | Height: | Size: 616 KiB |
|
Before Width: | Height: | Size: 424 KiB |
|
Before Width: | Height: | Size: 473 KiB |
|
Before Width: | Height: | Size: 432 KiB |
|
Before Width: | Height: | Size: 514 KiB |
|
Before Width: | Height: | Size: 487 KiB |
|
Before Width: | Height: | Size: 532 KiB |
|
Before Width: | Height: | Size: 403 KiB |
|
Before Width: | Height: | Size: 452 KiB |
|
Before Width: | Height: | Size: 394 KiB |
|
Before Width: | Height: | Size: 403 KiB |
|
Before Width: | Height: | Size: 410 KiB |
|
Before Width: | Height: | Size: 496 KiB |
|
Before Width: | Height: | Size: 360 KiB |
|
Before Width: | Height: | Size: 400 KiB |
|
Before Width: | Height: | Size: 286 KiB |
|
Before Width: | Height: | Size: 339 KiB |
|
Before Width: | Height: | Size: 417 KiB |
|
Before Width: | Height: | Size: 525 KiB |
|
Before Width: | Height: | Size: 368 KiB |
|
Before Width: | Height: | Size: 511 KiB |
|
Before Width: | Height: | Size: 323 KiB |
|
Before Width: | Height: | Size: 415 KiB |
|
Before Width: | Height: | Size: 427 KiB |
|
Before Width: | Height: | Size: 580 KiB |
4
public/resources/js/main.js
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
// Import local modules
|
||||||
|
import '@modules/mobile-nav'
|
||||||
|
import '@modules/lazyload'
|
||||||
55
public/resources/js/modules/lazyload/index.js
Normal file
|
|
@ -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
|
||||||
27
public/resources/js/modules/mobile-nav/index.js
Normal file
|
|
@ -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
|
||||||
39
public/resources/js/utilities/helpers/index.js
Normal file
|
|
@ -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
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
30
public/resources/js/utilities/selectors/index.js
Normal file
|
|
@ -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 $$
|
||||||
|
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 205 B |
|
|
@ -1,15 +1,12 @@
|
||||||
---
|
---
|
||||||
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>© 2025, 2026 <a href="https://bashelton.com/">Benjamin A. Shelton</a></li>
|
<li>© 2026 <a href="https://bashelton.com/">Benjamin A. Shelton</a></li>
|
||||||
<li>Some rights reserved.</li>
|
<li>All rights reserved.</li>
|
||||||
<li>Revision <a href={revURL}>r{revCount} (sha1:{rev})</a></li>
|
<li>Revised § <a href="https://git.destrealm.org/zancarius/sundays">July 2026</a></li>
|
||||||
|
<li><button data-toggle-theme><Icon /></button></li>
|
||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
@ -1,60 +1,6 @@
|
||||||
---
|
---
|
||||||
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 id="header">
|
<header><a href={base}><b>Just Us</b> Notes</a></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>
|
|
||||||
|
|
@ -1,59 +0,0 @@
|
||||||
---
|
|
||||||
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>
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
---
|
|
||||||
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,8 +7,6 @@ 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',
|
||||||
|
|
@ -19,7 +17,6 @@ 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) {
|
||||||
|
|
@ -27,16 +24,6 @@ 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;
|
||||||
|
|
@ -44,25 +31,19 @@ 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 class="flex">
|
<li>
|
||||||
<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><a href={new URL(`${base}notes/${note.id}/`, Astro.url).pathname}>{note.data.title}</a></h2>
|
<h2>
|
||||||
<h3>{note.data.subtitle}</h3>
|
<a href={new URL(`${base}notes/${note.id}/`, Astro.url).pathname}>{note.data.title}</a>
|
||||||
|
</h2>
|
||||||
|
<h3>{note.data.sub_heading}</h3>
|
||||||
</hgroup>
|
</hgroup>
|
||||||
<time>{dateFormat(note.data.date)}</time>
|
<time>{dateFormat(note.data.date)}</time>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
|
|
@ -6,18 +6,15 @@ 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(),
|
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
<?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>
|
|
||||||
|
Before Width: | Height: | Size: 1.1 KiB |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 864 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 770 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 771 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 512 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 507 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 290 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 268 B |
|
|
@ -1,4 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 295 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 397 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 349 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 421 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 413 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 284 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 441 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 726 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 533 B |
|
|
@ -1,3 +0,0 @@
|
||||||
<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>
|
|
||||||
|
Before Width: | Height: | Size: 401 B |
|
|
@ -1,13 +0,0 @@
|
||||||
---
|
|
||||||
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,56 +2,130 @@
|
||||||
//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, image } = Astro.props;
|
const { title } = 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';
|
|
||||||
theme();
|
class ThemeToggler {
|
||||||
|
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: Entering God's Rest
|
title: "Psalm 23"
|
||||||
scripture: "Psalm 23"
|
|
||||||
scripture_category: wisdom
|
|
||||||
session: 11
|
|
||||||
meta_description: Psalm 23
|
meta_description: Psalm 23
|
||||||
|
sub_heading: Entering God's Rest
|
||||||
|
session: 11
|
||||||
|
scripture_category: wisdom
|
||||||
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: God Knows Our Depths
|
title: "Psalm 139"
|
||||||
scripture: "Psalm 139"
|
|
||||||
scripture_category: wisdom
|
|
||||||
meta_description: Psalm 139
|
meta_description: Psalm 139
|
||||||
post_image: /images/headers/shepherd-praying-cropped.jpg
|
sub_heading: God Knows Our Depths
|
||||||
session: 12
|
session: 12
|
||||||
|
scripture_category: wisdom
|
||||||
|
post_image: /images/headers/shepherd-praying-cropped.jpg
|
||||||
types: ["abbreviated"]
|
types: ["abbreviated"]
|
||||||
book: psalms
|
book: psalms
|
||||||
chapters: [139]
|
chapters: [139]
|
||||||
|
|
@ -149,7 +149,3 @@ 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: David's Plea for Justice
|
title: "Psalm 5"
|
||||||
scripture: "Psalm 5"
|
|
||||||
scripture_category: wisdom
|
|
||||||
meta_description: Psalm 5
|
meta_description: Psalm 5
|
||||||
post_image: /images/headers/king-david-cropped.jpg
|
sub_heading: David's Plea for Justice
|
||||||
session: 13
|
session: 13
|
||||||
|
scripture_category: wisdom
|
||||||
|
post_image: /images/headers/king-david-cropped.jpg
|
||||||
types: ["abbreviated"]
|
types: ["abbreviated"]
|
||||||
book: psalms
|
book: psalms
|
||||||
chapter: 5
|
chapter: 5
|
||||||
|
|
@ -190,7 +190,3 @@ 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: Why are You Cast Down, My Soul?
|
title: "Psalms 42, 43"
|
||||||
scripture: "Psalm 42, 43"
|
meta_description: Psalms 42 and 43
|
||||||
scripture_category: wisdom
|
sub_heading: Why are You Cast Down, My Soul?
|
||||||
meta_description: Psalm 42 and 43
|
|
||||||
post_image: /images/headers/prostrate-shepherd-1.jpg
|
|
||||||
session: 14
|
session: 14
|
||||||
|
scripture_category: wisdom
|
||||||
|
post_image: /images/headers/prostrate-shepherd-1.jpg
|
||||||
types: ["abbreviated"]
|
types: ["abbreviated"]
|
||||||
book: psalms
|
book: psalms
|
||||||
chapters: [42, 43]
|
chapters: [42, 43]
|
||||||
|
|
@ -106,7 +106,3 @@ Now I urge you, brothers, to watch out for those who create divisions and obstac
|
||||||
|
|
||||||
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: Put Not Your Trust in Princes
|
title: "Deep Dive: Psalm 146"
|
||||||
scripture: "Psalm 146"
|
|
||||||
scripture_category: wisdom
|
|
||||||
meta_description: Psalm 146
|
meta_description: Psalm 146
|
||||||
|
sub_heading: Put Not Your Trust in Princes
|
||||||
|
scripture_category: wisdom
|
||||||
post_image: /images/headers/throne-room-cropped.jpg
|
post_image: /images/headers/throne-room-cropped.jpg
|
||||||
types: ["abbreviated"]
|
types: ["abbreviated"]
|
||||||
book: "psalms"
|
book: "psalms"
|
||||||
|
|
@ -162,7 +162,3 @@ 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,12 +1,11 @@
|
||||||
---
|
---
|
||||||
date: "2025-12-07"
|
date: "2025-12-07"
|
||||||
title: "New Testament Introduction"
|
title: "Matthew 2"
|
||||||
subtitle: "The Signs of a King"
|
meta_description: Matthew 2
|
||||||
scripture: "Matthew 2"
|
sub_heading: "Signs of a King (and New Testament Introduction)"
|
||||||
|
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]
|
||||||
|
|
@ -164,7 +163,3 @@ 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,12 +1,11 @@
|
||||||
---
|
---
|
||||||
date: "2025-12-14"
|
date: "2025-12-14"
|
||||||
title: "Jesus' Ministry Begins"
|
title: "Matthew 3-4:11"
|
||||||
subtitle: "Baptism, Early Ministry, and Temptation of the Christ"
|
|
||||||
scripture: "Matthew 3-4:11"
|
|
||||||
scripture_category: gospels
|
|
||||||
meta_description: "Matthew 3-4:11"
|
meta_description: "Matthew 3-4:11"
|
||||||
post_image: /images/headers/baptism-of-jesus-cropped.jpg
|
sub_heading: "Jesus' Baptism, Early Ministry, and Temptation"
|
||||||
session: 1
|
session: 1
|
||||||
|
scripture_category: gospels
|
||||||
|
post_image: /images/headers/baptism-of-jesus-cropped.jpg
|
||||||
types: ["abbreviated"]
|
types: ["abbreviated"]
|
||||||
book: "matthew"
|
book: "matthew"
|
||||||
chapters: [3, 4]
|
chapters: [3, 4]
|
||||||
|
|
@ -107,7 +106,3 @@ Is any one of you sick? He should call the elders of the church to pray over him
|
||||||
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,12 +1,11 @@
|
||||||
---
|
---
|
||||||
date: "2025-12-21"
|
date: "2025-12-21"
|
||||||
title: "Jesus' Ministry Begins"
|
title: "Matthew 4:12-25"
|
||||||
subtitle: "The First Disciples and the Great Crowds"
|
|
||||||
scripture: "Matthew 4:12-25"
|
|
||||||
scripture_category: gospels
|
|
||||||
meta_description: "Matthew 4:12-25"
|
meta_description: "Matthew 4:12-25"
|
||||||
post_image: /images/headers/jesus-beginning-ministry-galilee-crowds-cropped.jpg
|
sub_heading: "Jesus' Ministry Begins: First Disciples and the Great Crowds"
|
||||||
session: 2
|
session: 2
|
||||||
|
scripture_category: gospels
|
||||||
|
post_image: /images/headers/jesus-beginning-ministry-galilee-crowds-cropped.jpg
|
||||||
types: ["abbreviated", "long-form"]
|
types: ["abbreviated", "long-form"]
|
||||||
book: matthew
|
book: matthew
|
||||||
chapters: [4]
|
chapters: [4]
|
||||||
|
|
@ -159,7 +158,3 @@ 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,12 +1,11 @@
|
||||||
---
|
---
|
||||||
date: "2025-12-28"
|
date: "2025-12-28"
|
||||||
title: "The Sermon on the Mount"
|
title: "Matthew 5:1-26"
|
||||||
subtitle: "Part 1"
|
|
||||||
scripture: "Matthew 5:1-26"
|
|
||||||
scripture_category: gospels
|
|
||||||
meta_description: "Matthew 5:1-26"
|
meta_description: "Matthew 5:1-26"
|
||||||
post_image: /images/headers/jesus-sermon-on-the-mount-1.jpg
|
sub_heading: "The Sermon on the Mount: Part 1"
|
||||||
session: 4
|
session: 4
|
||||||
|
scripture_category: gospels
|
||||||
|
post_image: /images/headers/jesus-sermon-on-the-mount-1.jpg
|
||||||
types: ["abbreviated", "long-form"]
|
types: ["abbreviated", "long-form"]
|
||||||
book: matthew
|
book: matthew
|
||||||
chapters: [5]
|
chapters: [5]
|
||||||
|
|
@ -208,7 +207,3 @@ And in many cases, this is the lesson that Jesus is giving us in these sections,
|
||||||
|
|
||||||
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,11 +1,10 @@
|
||||||
---
|
---
|
||||||
date: "2026-01-04"
|
date: "2026-01-04"
|
||||||
title: "The Sermon on the Mount"
|
title: "Matthew 5:27-32"
|
||||||
subtitle: "Part 2"
|
|
||||||
session: 4
|
|
||||||
scripture: "Matthew 5:27-32"
|
|
||||||
scripture_category: gospels
|
|
||||||
meta_description: "Matthew 5:27-32"
|
meta_description: "Matthew 5:27-32"
|
||||||
|
sub_heading: "The Sermon on the Mount: Part 2"
|
||||||
|
session: 4
|
||||||
|
scripture_category: gospels
|
||||||
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,11 +1,10 @@
|
||||||
---
|
---
|
||||||
date: "2026-01-11"
|
date: "2026-01-11"
|
||||||
title: "The Sermon on the Mount"
|
title: "Matthew 5:33-48"
|
||||||
subtitle: "Part 3"
|
|
||||||
session: 4
|
|
||||||
scripture: "Matthew 5:33-48"
|
|
||||||
scripture_category: gospels
|
|
||||||
meta_description: "Matthew 5:33-48"
|
meta_description: "Matthew 5:33-48"
|
||||||
|
sub_heading: "The Sermon on the Mount: Part 3"
|
||||||
|
session: 4
|
||||||
|
scripture_category: gospels
|
||||||
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,11 +1,10 @@
|
||||||
---
|
---
|
||||||
date: "2026-01-18"
|
date: "2026-01-18"
|
||||||
title: "The Sermon on the Mount"
|
title: "Matthew 6:1-15"
|
||||||
subtitle: "Part 4"
|
|
||||||
session: 5
|
|
||||||
scripture: "Matthew 6:1-15"
|
|
||||||
scripture_category: gospels
|
|
||||||
meta_description: "Matthew 6:1-15"
|
meta_description: "Matthew 6:1-15"
|
||||||
|
sub_heading: "The Sermon on the Mount: Part 4"
|
||||||
|
session: 5
|
||||||
|
scripture_category: gospels
|
||||||
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"
|
||||||
title: "The Sermon on the Mount"
|
date_override: "1 February, 2026"
|
||||||
subtitle: "Part 5"
|
title: "Matthew 6:16-24"
|
||||||
session: 5
|
|
||||||
scripture: "Matthew 6:16-24"
|
|
||||||
scripture_category: gospels
|
|
||||||
meta_description: "Matthew 6:16-24"
|
meta_description: "Matthew 6:16-24"
|
||||||
|
sub_heading: "The Sermon on the Mount: Part 5"
|
||||||
|
session: 5
|
||||||
|
scripture_category: gospels
|
||||||
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,11 +1,10 @@
|
||||||
---
|
---
|
||||||
date: "2026-02-08"
|
date: "2026-02-08"
|
||||||
title: "The Sermon on the Mount"
|
title: "Matthew 7:6; 6:25-34"
|
||||||
subtitle: "Part 6"
|
|
||||||
session: "5-6"
|
|
||||||
scripture: "Matthew 7:6; 6:25-34"
|
|
||||||
scripture_category: gospels
|
|
||||||
meta_description: "Matthew 7:6; 6:25-34"
|
meta_description: "Matthew 7:6; 6:25-34"
|
||||||
|
sub_heading: "The Sermon on the Mount: Part 6"
|
||||||
|
session: "5-6"
|
||||||
|
scripture_category: gospels
|
||||||
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,14 +1,13 @@
|
||||||
---
|
---
|
||||||
date: "2026-02-15"
|
date: "2026-02-15"
|
||||||
title: "The Sermon on the Mount"
|
title: Matthew 7:1-5, 7-29
|
||||||
subtitle: "Part 7"
|
|
||||||
session: 6
|
|
||||||
scripture: Matthew 7:1-5, 7-29
|
|
||||||
scripture_category: gospels
|
|
||||||
meta_description: "Matthew 7:1-5, 7-29"
|
meta_description: "Matthew 7:1-5, 7-29"
|
||||||
post_image: /images/headers/jesus-sermon-on-the-mount-7.jpg
|
sub_heading: "The Sermon on the Mount: Part 7"
|
||||||
|
session: 6
|
||||||
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,14 +1,13 @@
|
||||||
---
|
---
|
||||||
date: "2026-02-22"
|
date: "2026-02-22"
|
||||||
title: "The Sermon Ends"
|
title: "Matthew 7:21-29; 8:1-4"
|
||||||
subtitle: "Jesus' Healing Demonstrated"
|
|
||||||
session: "6-7"
|
|
||||||
scripture: "Matthew 7:21-29; 8:1-4"
|
|
||||||
scripture_category: gospels
|
|
||||||
meta_description: "Matthew 7:21-29; 8:1-4"
|
meta_description: "Matthew 7:21-29; 8:1-4"
|
||||||
post_image: /images/headers/jesus-heals-a-man.jpg
|
sub_heading: "The Sermon Ends; Jesus' Healing Demonstrated"
|
||||||
|
session: "6-7"
|
||||||
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
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,14 @@
|
||||||
---
|
---
|
||||||
date: "2026-03-01"
|
date: "2026-03-01"
|
||||||
title: "Why Should I Fear in Times of Trouble?"
|
date_override: "1 March, 2026"
|
||||||
scripture: "Psalm 49"
|
title: "Psalm 49"
|
||||||
scripture_category: wisdom
|
|
||||||
meta_description: "Psalm 49"
|
|
||||||
post_image: "/images/headers/psalm49.jpg"
|
|
||||||
image_alt: "Shepherd facing off the charred skeleton of a wealthy king: Same fate but different outcomes."
|
|
||||||
book: psalm
|
book: psalm
|
||||||
chapter: 49
|
chapter: 49
|
||||||
|
meta_description: "Psalm 49"
|
||||||
|
sub_heading: "Why Should I Fear in Times of Trouble?"
|
||||||
|
scripture_category: wisdom
|
||||||
|
post_image: "/images/headers/psalm49.jpg"
|
||||||
|
image_alt: "Shepherd facing off the charred skeleton of a wealthy king: Same fate but different outcomes."
|
||||||
tags:
|
tags:
|
||||||
- notes
|
- notes
|
||||||
- psalms
|
- psalms
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
---
|
---
|
||||||
date: "2026-03-08"
|
date: "2026-03-08"
|
||||||
title: Jesus Heals
|
title: "Matthew 8:1-27"
|
||||||
session: 7
|
|
||||||
scripture: "Matthew 8:1-27"
|
|
||||||
scripture_category: gospels
|
|
||||||
meta_description: "Matthew 8:1-27"
|
meta_description: "Matthew 8:1-27"
|
||||||
post_image: /images/headers/jesus-healing-and-the-crowds.jpg
|
sub_heading: Jesus Heals
|
||||||
|
session: 7
|
||||||
book: matthew
|
book: matthew
|
||||||
chapter: 8
|
chapter: 8
|
||||||
|
scripture_category: gospels
|
||||||
|
post_image: /images/headers/jesus-healing-and-the-crowds.jpg
|
||||||
tags:
|
tags:
|
||||||
- notes
|
- notes
|
||||||
- matthew
|
- matthew
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,9 @@
|
||||||
---
|
---
|
||||||
date: "2026-03-15"
|
date: "2026-03-15"
|
||||||
title: "Jesus Heals (Continued)"
|
title: "Matthew 8:28-34, 9:1-17"
|
||||||
subtitle: "The Demoniacs, Paralytic, Call of Matthew"
|
|
||||||
scripture: "Matthew 8:28-34, 9:1-17"
|
|
||||||
scripture_category: gospels
|
|
||||||
meta_description: "Matthew 8:28-34, 9:1-17"
|
meta_description: "Matthew 8:28-34, 9:1-17"
|
||||||
|
sub_heading: "Jesus Heals: Demoniacs, Paralytic, Call of Matthew"
|
||||||
|
scripture_category: gospels
|
||||||
post_image: /images/headers/jesus-healing-demoniacs-02-scaled.jpg
|
post_image: /images/headers/jesus-healing-demoniacs-02-scaled.jpg
|
||||||
tags:
|
tags:
|
||||||
- notes
|
- notes
|
||||||
|
|
|
||||||