summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.nix2
-rw-r--r--html/basics/default.nix (renamed from content/basics.html.nix)0
-rw-r--r--html/default.nix (renamed from index.html.nix)2
-rw-r--r--html/education/default.nix (renamed from content/education.html.nix)0
-rw-r--r--html/experience/default.nix (renamed from content/experience.html.nix)0
-rw-r--r--html/languages/default.nix (renamed from content/languages.html.nix)0
-rw-r--r--html/publications/default.nix (renamed from content/publications.html.nix)0
-rw-r--r--html/sections.nix (renamed from content/default.nix)10
8 files changed, 7 insertions, 7 deletions
diff --git a/default.nix b/default.nix
index 7e7098a..ad6e897 100644
--- a/default.nix
+++ b/default.nix
@@ -28,7 +28,7 @@ let
};
webpage = { line-awesome, line-awesome-css ? lineAwesomeCSS
- , source ? builtins.toFile "index.html" (make ./index.html.nix { })
+ , source ? builtins.toFile "index.html" (make ./html { })
, files ? data.files,
icon ? ./static/icon.png }:
pkgs.runCommand "webpage" { } ''
diff --git a/content/basics.html.nix b/html/basics/default.nix
index d7f7a90..d7f7a90 100644
--- a/content/basics.html.nix
+++ b/html/basics/default.nix
diff --git a/index.html.nix b/html/default.nix
index 473c01a..96ac341 100644
--- a/index.html.nix
+++ b/html/default.nix
@@ -1,6 +1,6 @@
{ html, make, ... }:
-let sections = html.sort.byKey "priority" (make ./content { });
+let sections = html.sort.byKey "priority" (make ./sections.nix { });
in with html;
html.html { lang = "en"; } [
(head [
diff --git a/content/education.html.nix b/html/education/default.nix
index e1027e3..e1027e3 100644
--- a/content/education.html.nix
+++ b/html/education/default.nix
diff --git a/content/experience.html.nix b/html/experience/default.nix
index 8637802..8637802 100644
--- a/content/experience.html.nix
+++ b/html/experience/default.nix
diff --git a/content/languages.html.nix b/html/languages/default.nix
index 36780db..36780db 100644
--- a/content/languages.html.nix
+++ b/html/languages/default.nix
diff --git a/content/publications.html.nix b/html/publications/default.nix
index 04bb502..04bb502 100644
--- a/content/publications.html.nix
+++ b/html/publications/default.nix
diff --git a/content/default.nix b/html/sections.nix
index 0b0d0ca..2a571b6 100644
--- a/content/default.nix
+++ b/html/sections.nix
@@ -10,9 +10,9 @@ let
};
makeSection = path: sectionTemplate (make path { });
in builtins.map makeSection [
- ./basics.html.nix
- ./education.html.nix
- ./experience.html.nix
- # ./languages.html.nix
- ./publications.html.nix
+ ./basics
+ ./education
+ ./experience
+ # ./languages
+ ./publications
]