- JavaScript 63%
- HTML 15.9%
- Clojure 13.1%
- CSS 3.6%
- Shell 2.1%
- Other 2.2%
| content | ||
| frenring@af30c7e13c | ||
| LICENSES | ||
| src/cryogen | ||
| themes/chota | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| deploy-pages.sh | ||
| deps.edn | ||
| highlight.js | ||
| masto-oauth-token.gpg | ||
| README.md | ||
| shell.nix | ||
| webring-sources.txt | ||
Left Fold
This is the source code for my personal blog. It is generated using cryogen.
The blog is using a theme I rolled myself called chota (after the CSS library powering it) and it can be found with more information in its own repository.
Build
The website can be built using clojure -M:build. It can also be run in a local dev server (that rebuilds the site when the content changes) using clojure -X:serve. Note: this makes HTTP requests to the Cloudflare JavaScript CDN to fetch highlight.js grammars. The grammars are cached for subsequent builds.
Some of the website's contents is fetched from external sources, which must be done in a preparation step before building it (if that content should be included).
clojure -X:prepare :components '[:webring :bookwyrm :spotify :forgejo]' loads the necessary data from all sources according to the rest of the configuration (found in deps.edn).
For my personal setup, I use a cron job on a remote server that performs this preparation step periodically and exposes the aggregated data via HTTP, so I can stay up to date without having to fetch everything all over when rebuilding the blog locally.
Licensing
This repository contains components written by different people and/or licensed under different terms.
- My posts are all licensed under Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0). See Creative Commons for an explanation.
- Some of the code is written by me, some by others. Each file has licensing information at the top.
- The highlight.js is copied from the project by the same name and licensed under a BSD 3-Clause License.