diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-11-13 13:24:09 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-11-13 13:24:09 +0100 |
| commit | afb0e195386cbd5985e9bfd1f6c47272d662cf92 (patch) | |
| tree | 510c7ee0bd72e608c7c2a4e9af8c2e84ccb607b1 /html | |
| parent | 37867874800ba915962afb00727ace6c8f61b1f2 (diff) | |
html: basics: add online profiles
Diffstat (limited to 'html')
| -rw-r--r-- | html/basics/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/html/basics/default.nix b/html/basics/default.nix index af65013..1490529 100644 --- a/html/basics/default.nix +++ b/html/basics/default.nix @@ -8,6 +8,7 @@ let }; center = container: content: container { style = "text-align: center"; } content; + icon-lab = name: html.icon "lab la-${name}"; in { title = "About me"; priority = 0; @@ -39,6 +40,19 @@ in { ${number} ${street}${br} ${postalCode} ${city} '')) + (dt "${icon "las la-globe"} online") + (dd (for profiles (name: value: + with value; + "${icon-lab icon} ${ + if value ? url then + href url name + else + "${name}: ${ + lines (for profiles (name: value: + with value; + "${icon-lab icon} ${href url name}")) + } ${br}" + }"))) ])) ]) description |
