fixing up the api to work better for nix and move the table format

This commit is contained in:
Chris Cochrun 2025-06-23 15:13:42 -05:00
parent 774328aa5b
commit ee252aec13
7 changed files with 305 additions and 96 deletions

View file

@ -66,15 +66,13 @@
# cp -r ${blowfish} themes/blowfish
# ls themes/blowfish
# '';
# buildPhase = ''
# NODE_ENV=production ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit && hugo --gc --minify
# ${pkgs.hugo}/bin/hugo --minify
# '';
# installPhase = ''
# ls -l
# cp -r public $out/
# ls -l $out
# '';
buildPhase = ''
${pkgs.tailwindcss_4}/bin/tailwindcss -i static/css/base.css -o static/css/main.css
${pkgs.zola}/bin/zola build
'';
installPhase = ''
cp -r public $out/
'';
buildInputs = bi;
nativeBuildInputs = nbi;
};