1
Fork 0
mirror of https://github.com/RGBCube/HTMNIX synced 2025-05-31 12:38:12 +00:00

Move example to its own file

This commit is contained in:
RGBCube 2024-02-28 10:12:45 +03:00
parent 86ba79747d
commit 730e3eb8f0
No known key found for this signature in database
2 changed files with 10 additions and 10 deletions

View file

@ -74,15 +74,6 @@
};
};
result = let inherit (self) __findFile; in
<html>
<head>
<meta.>{charset="UTF-8";}
<title>"Hello, internet!"<.title>
<.head>
<body>
<p>"What the fuck is this?"<.p>
<.body>
<.html>;
result = builtins.scopedImport { inherit (self) raw __findFile; } ./html.nix;
};
}

9
html.nix Normal file
View file

@ -0,0 +1,9 @@
<html>
<head>
<meta.>{charset="UTF-8";}
<title>"Hello, internet!"<.title>
<.head>
<body>
<p>"What the fuck is this?"<.p>
<.body>
<.html>