diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-10-27 09:58:33 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-10-27 09:58:33 -0700 |
| commit | 8a749d41915a9fc5dc0524a39faf75a24369aa6b (patch) | |
| tree | ed397926cfa1f1fb782bd83ad8994fc6a5f93fdd /flake.nix | |
| parent | ref(css): set font family to sans-serif; darker background for code (diff) | |
| download | fcuny.net-8a749d41915a9fc5dc0524a39faf75a24369aa6b.tar.gz | |
feat(content): add my resume
Add my resume to the content, with a dedicated CSS. The resume is in
org-mode format, and I use `pandoc` to convert it to HTML. This is done
when the site is build, and is integrated in the docker image.
It is available at /resume.html, but is not listed on the site, that way
I can give the URL to who ever is interested in the future.
It would be useful to also generate a PDF version of it and store it
with other static content.
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -19,10 +19,12 @@ pname = "fcuny.net"; version = self.lastModifiedDate; src = ./.; - buildInputs = [ hugo git ]; + buildInputs = [ hugo git pandoc ]; buildPhase = '' mkdir -p $out - hugo --minify --destination $out + ${pkgs.hugo}/bin/hugo --minify --destination $out + ${pkgs.pandoc}/bin/pandoc --self-contained --css static/css/resume.css \ + --from org --to html --output $out/resume.html content/resume.org ''; dontInstall = true; }; |
