summaryrefslogtreecommitdiff
path: root/html/default.nix
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2023-08-21 17:50:43 +0200
committerquentin@aristote.fr <quentin@aristote.fr>2023-08-23 18:29:57 +0200
commitbaea04747697ad5039139ef44bca7b3965147696 (patch)
tree6da0d87642c19120d913b66b1734d3de6fbb385d /html/default.nix
parent5752f0a1017f33c78428a915d3bcf2ccd80f3e79 (diff)
update info api
Diffstat (limited to 'html/default.nix')
-rw-r--r--html/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/html/default.nix b/html/default.nix
index 61e7a96..0d4f19a 100644
--- a/html/default.nix
+++ b/html/default.nix
@@ -1,4 +1,4 @@
-{ html, make, ... }:
+{ html, make, data, ... }:
let
sections = html.sort.byKey "priority" (make ./sections.nix { });
@@ -8,15 +8,16 @@ let
rel = "preload";
as = "font";
};
+ fullname = with data.basics.name; "${first} ${last}";
in with html;
doctype "html" + html.html { lang = "en"; } [
(head [
# Basic page needs
(metaWith { charset = "utf-8"; })
- (title "Quentin Aristote")
+ (title fullname)
(metaWith {
name = "description";
- content = "Personal webpage of Quentin Aristote";
+ content = "Personal webpage of ${fullname}";
})
(metaWith {
name = "author";