Sunday school notes and site resources.
  • CSS 28.3%
  • JavaScript 28%
  • Astro 22.8%
  • Python 15.9%
  • TypeScript 4.4%
  • Other 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Benjamin A. Shelton 558dd6b3ac
Several changes to meta handling and rendering:
1) Translation metadata has move from t9nmeta.js to meta.js.
2) Translation metadata is now going to be generated by
   tools/genbooks.py (incomplete)
3) Translation metadata now includes a default translation to use via
   the helloao.org API.
4) Link to Bible Gateway has been removed from the scripture dialog.
2026-08-17 19:43:54 -06:00
public Added header images for today's lesson. 2026-08-16 19:19:59 -06:00
src Several changes to meta handling and rendering: 2026-08-17 19:43:54 -06:00
tools Rework meta layout. 2026-08-17 19:43:35 -06:00
.gitignore Ignore .astro and dist. 2026-06-05 14:46:45 -06:00
astro.config.mjs Added astro-icon. 2026-08-07 14:39:14 -06:00
LICENSE.txt Added README and LICENSE. 2026-06-05 15:22:32 -06:00
Makefile Added option to force rebuild of entire cache. 2026-08-07 10:15:41 -06:00
package-lock.json Bumped version. 2026-08-11 20:57:47 -06:00
package.json Bumped version. 2026-08-10 14:40:14 -06:00
README.md Added README and LICENSE. 2026-06-05 15:22:32 -06:00
tsconfig.json Adding Astrojs sources. 2026-06-05 14:31:12 -06:00

Just Us Class Notes

Welcome to my repository for the Just Us class notes! This repository contains all source materials and libraries required to build the notes site from scratch.

General Information

Notes are contained under src/notes/* and consist of one file per class (or devotional) formatted using GitHub-flavored Markdown. At the top of each file is a code "fence," delineated by three "-" characters at the start and end of the fenced code. This fenced code contains metadata specific to each post and follows a consistent schema to identify the post's title, date, scripture category (used for tag colors), a post image (784x600; AI generated), and other data.

Scripture is linked externally to Bible Gateway, though other sites may be used. I have included a remark plugin to (mostly) automate scripture links by using a :scripture URL for defined passages or :scripture=<passage> for text that does not directly reference applicable scriptures. For example:

In [Romans 5:12](:scripture), we learn that sin is the source of death. Yet, one of the [most commonly referenced Psalms](:scripture=psalm+23) at memorial services has little—if anything—to do with death itself!

Note that, when specifying scripture, spaces must be replaced with a plus (+) character, otherwise the link will be ignored by the Markdown parser.

At present, I am using Astro v6.4 and tailwindcss v4.3 for the generator and UI frameworks. The old version of this site was using an Eleventy template that had not been maintained in years, and it was time to migrate to newer, maintained software.

How It Works

The notes site isn't hosted by blog software with which you may be familiar, like WordPress. It doesn't even rely on server-side rendering at all! Astro, by default, acts as a static site generator, meaning that everything is generated offline and then uploaded to a web host. This reduces substantial overhead (CPU, RAM) and removes some complexity (e.g. database support). However, it requires the site to be rebuilt and uploaded whenever changes are made or content is added.

Build it Yourself

To build the notes site yourself, you'll need to install NodeJS v22 or later and Git. Once installed, you can obtain and build the sources as follows:

# Clone the site sources and toolkit.
$ git clone https://git.destrealm.org/zancarius/sundays

$ cd sundays

# Install dependencies.
$ npm install

# Build the notes site (output is stored in ./dist).
$ npm run build

# Optionally, run the development server (accessible via http://localhost:8080/sundays/)
$ npm run dev

License

Individual script files that I've written are distributed under the NCSA. Otherwise, text content is licensed under Creative Commons BY-NC-SA v4.0.