From 8622e40e675c72b9402625189517f99891a046c9 Mon Sep 17 00:00:00 2001 From: aristote Date: Sun, 27 Jul 2025 17:47:32 +0200 Subject: add talks to publications, rename to research, split into tabbox --- html/experience/default.nix | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'html/experience') diff --git a/html/experience/default.nix b/html/experience/default.nix index b7f258b..9fdc219 100644 --- a/html/experience/default.nix +++ b/html/experience/default.nix @@ -10,23 +10,26 @@ in { priority = 20; body = with html; dl (for - (sort.reverse.byFun (item: with item.date.start; day + 100 * month + 10000 * year) - experience) (item: + (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}")))))) + (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) ])); -- cgit v1.2.3