diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-11-12 11:41:51 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-11-12 11:41:51 +0100 |
| commit | dbf48a4665a66dd37150f3886026ecd9bd82967f (patch) | |
| tree | 65bc5167f7c71952cf2ce4072197f6e23e81f98b /index.html.nix | |
| parent | 056ee77ab2ed3cf488ac9b1b8ac82664948a42a3 (diff) | |
restructure directories
Diffstat (limited to 'index.html.nix')
| -rw-r--r-- | index.html.nix | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/index.html.nix b/index.html.nix deleted file mode 100644 index 473c01a..0000000 --- a/index.html.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ html, make, ... }: - -let sections = html.sort.byKey "priority" (make ./content { }); -in with html; -html.html { lang = "en"; } [ - (head [ - # Basic page needs - (metaWith { charset = "utf-8"; }) - (title "Quentin Aristote") - (metaWith { - name = "description"; - content = "Personal webpage of Quentin Aristote"; - }) - (metaWith { - name = "author"; - content = "Quentin Aristote"; - }) - (metaWith { - http-equiv = "x-ua-compatible"; - content = "ie=edge"; - }) - # Mobile specific needs - (metaWith { - name = "viewport"; - content = "width=device-width, initial-scale=1"; - }) - # Font - (linkWith { - rel = "stylesheet"; - href = "/static/css/fonts/line-awesome/line-awesome.min.css"; - }) - # CSS - (linkWith { - rel = "stylesheet"; - href = "https://classless.de/classless.css"; - }) - # Favicon - (linkWith { - rel = "icon"; - type = "image/png"; - href = "static/icon.png"; - }) - ]) - (body [ - (header [ - (nav (ul ([ (li "Quentin Aristote") ] ++ for sections - (section: li (href "#${section.title}" section.title))))) - ]) - (main { role = "main"; } (for sections (section: section.body))) - (footer [ ]) - ]) -] |
