caddy: actually fix senior project webpage

This commit is contained in:
2025-09-02 19:49:38 -04:00
parent 54668635e9
commit 9f62ba4d4d
2 changed files with 30 additions and 21 deletions

View File

@@ -7,6 +7,13 @@
...
}:
let
theme = pkgs.fetchFromGitHub {
owner = "kaiiiz";
repo = "hugo-theme-monochrome";
rev = "d17e05715e91f41a842f2656e6bdd70cba73de91";
sha256 = "h9I2ukugVrldIC3SXefS0L3R245oa+TuRChOCJJgF24=";
};
hugoWebsite = pkgs.stdenv.mkDerivation {
pname = "hugo-site";
version = "0.1";
@@ -18,6 +25,8 @@ let
];
installPhase = ''
rm -fr themes/theme
cp -rv ${theme} themes/theme
hugo --minify -d $out;
'';
};