forked from pub-solar/pub.solar
Repo for the pub.solar website https://pub.solar
teutat3s
08448b0358
Also, don't install lume, following their docs https://lume.land/docs/overview/installation/#don't-install-lume |
||
---|---|---|
.well-known/matrix | ||
_data | ||
_includes | ||
assets | ||
fonts/opensans/v34 | ||
scripts | ||
.drone.yml | ||
.envrc | ||
.gitignore | ||
_config.ts | ||
about.yml | ||
deno.json | ||
docker-compose.yml | ||
filters.ts | ||
flake.lock | ||
flake.nix | ||
hakken-dates.js | ||
hakken.yml | ||
import_map.json | ||
index.yml | ||
LICENSE.md | ||
os.yml | ||
privacy.yml | ||
README.md | ||
styles.scss |
pub.solar homepage
This is the repository containing the code for https://pub.solar.
It is built using lume with JSX. To get started, make sure you're loading all dependencies via direnv
:
$ direnv allow
This will use nix shell to create an environment that has deno and lume available.
To get a live development server, run
$ deno task serve
Unfortunately, hot module reloading is currently broken for JSX modules, so you'll need to restart this process regularly during development.
Updating Open Sans
To update the font files and CSS, run google-font-downloader $FONT_CSS_URL
. As "documentation" shell.nix
shows the internals, and _includes/styles/typography.css
has a comment at the top that shows which command was used to generate it.