summaryrefslogtreecommitdiff
path: root/content/education.html.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-11-12 11:41:51 +0100
committerQuentin Aristote <quentin@aristote.fr>2022-11-12 11:41:51 +0100
commitdbf48a4665a66dd37150f3886026ecd9bd82967f (patch)
tree65bc5167f7c71952cf2ce4072197f6e23e81f98b /content/education.html.nix
parent056ee77ab2ed3cf488ac9b1b8ac82664948a42a3 (diff)
restructure directories
Diffstat (limited to 'content/education.html.nix')
-rw-r--r--content/education.html.nix39
1 files changed, 0 insertions, 39 deletions
diff --git a/content/education.html.nix b/content/education.html.nix
deleted file mode 100644
index e1027e3..0000000
--- a/content/education.html.nix
+++ /dev/null
@@ -1,39 +0,0 @@
-{ html, data, lib, ... }:
-
-let education = data.education;
-in {
- title = "Education";
- priority = 30;
- body = with html;
- dl (for (sort.reverse.byPath [ "date" "start" ] education) (item:
- with item;
- lines [
- (dt [
- (with institution; "${studyType} @ ${href url name}, ${location}")
- br
- (with date; small (timerange start end))
- ])
- (dd [
- (lib.optionalString (lib.hasAttr "years" item) (lines
- (for (sort.reverse.byPath [ "date" "start" ] years) (year:
- with year;
- details [
- (summary [
- (with program;
- "${studyType} @ ${
- href url (abbr { title = name; } acronym)
- }")
- br
- (with date; small (timerange start end))
- ])
- description
- (lines (for courses (category: list:
- details [
- (summary "${category} courses")
- (lib.concatStringsSep " ยท " (lib.naturalSort list))
- ])))
- ]))))
- description
- ])
- ]));
-}