blob: 9fdc2195a38e1868b6684bccb6b6aab4e244667c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
html,
data,
lib,
...
}: let
experience = data.experience;
in {
title = "Experience";
priority = 20;
body = with html;
dl (for
(sort.reverse.byFun
(item: with item.date.start; day + 100 * month + 10000 * year)
experience)
(item:
with item; [
(dt [
(with institution; "${position} @ ${href url name}, ${location}")
br
(small (lib.concatStringsSep " · " (
[(with date; timerange start end)]
++ lib.optional (item ? supervisors) "supervised by ${
lib.concatStringsSep " " (for supervisors
(supervisor: with supervisor; href url name))
}"
# ++ lib.optional (item ? assets) (lib.concatStringsSep " "
# (for assets (asset:
# with asset;
# href "#${type}#${id}"
# "${icon "las la-paperclip"} ${name}")))
)))
])
(dd description)
]));
}
|