mirror of
https://github.com/youwen5/blog.git
synced 2024-11-24 18:03:50 -08:00
Mirror of my blog, powered by Hakyll and Haskell, hosted on GitHub Pages.
https://blog.youwen.dev
87c7f1f18d
Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages) from 4.0.0 to 4.1.0. - [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases) - [Commits](https://github.com/crazy-max/ghaction-github-pages/compare/v4.0.0...v4.1.0) --- updated-dependencies: - dependency-name: crazy-max/ghaction-github-pages dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github | ||
src | ||
ssg | ||
.envrc | ||
.ghci | ||
.gitignore | ||
.prettierrc.toml | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
package.json | ||
pnpm-lock.yaml | ||
README.md | ||
rollup.config.mjs | ||
tailwind.config.js |
gradient ascent - yet another developer blog
This repository hosts the source code for my blog, written in Haskell and powered by hakyll and pandoc. Builds are managed by nix.
This repo is merely the source code, the actual site is hosted at blog.youwen.dev.
To build locally, install nix
and enable flakes.
nix build
nix run . watch
This starts a hot reload server at localhost:8000
.
nix run . build
This builds a local production version.
If any updates are made to the JavaScript or CSS, you will need to run
pnpm install # only the first time
pnpm build
This is because I still haven't figured out how to integrate the rollup
build
pipeline with nix
. Since the CSS and JS are minimal, I just do it manually for
now.