From baea04747697ad5039139ef44bca7b3965147696 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Mon, 21 Aug 2023 17:50:43 +0200 Subject: update info api --- html/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'html/default.nix') 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"; -- cgit v1.2.3