Source code for the Site.js web site.
⚠️ Do not clone this repository from GitHub.The GitHub version is a mirror and does not contain the Git LFS objects. Feel free to report issues here, etc., but do not clone from here if you’re going to deploy the site.
-
Make sure you have the Git LFS git extension installed (e.g., for Ubuntu):
sudo apt install git-lfs git lfs install
-
Clone the repository via the links on the canonical repository at https://source.small-tech.org/site.js/site
./install
./build
The following features require Site.js:
Test the source:
site
Test the distribution build:
site dist
Stage the source:
site @hostname
Stage the distribution build:
site dist @hostname
If you have SSH access to the Site.js web site:
./deploy
Note: The scripts use the latest Site.js syntax.
You might find these components useful in your own projects:
-
Inline CSS and JS: script that inlines CSS and JS into the HTML during the build process.
-
Inline SVG: script that inlines SVG into the HTML during the build process.
Small Technology Foundation is a tiny, independent not-for-profit.
We exist in part thanks to patronage by people like you. If you share our vision and want to support our work, please become a patron or donate to us today and help us continue to exist.
© 2019-present Aral Balkan, Small Technology Foundation.