Skip to content

Repository files navigation

Starsim website

Source for starsim.org. Built with Eleventy from index.md using the base.njk layout. Site assets live in assets/.

Prerequisites

  • Node.js (any recent LTS)

Usage

./build.sh   # install deps and build the site into _site/
./serve.sh   # build and serve at http://localhost:8080 with live reload
./clean.sh   # remove _site/ and node_modules/

npm install is run automatically by build.sh and serve.sh. No package-lock.json is generated (see .npmrc).

Publishing

Done automatically via GitHub Actions.

Layout

  • index.md — page content and frontmatter (title, nav, hero, footer)
  • base.njk — single HTML layout (navbar, hero, content, footer)
  • eleventy.config.js — Eleventy config and custom shortcodes (section, cards, card, event, cite, topbtn, examples, ...)
  • assets/ — CSS, JS, images, fonts (copied verbatim to the output)

About

Starsim website

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages