1
Fork 0
mirror of https://github.com/RGBCube/HTMNIX synced 2025-07-05 05:17:36 +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 result = builtins.scopedImport { inherit (self) raw __findFile; } ./html.nix;
<html>
<head>
<meta.>{charset="UTF-8";}
<title>"Hello, internet!"<.title>
<.head>
<body>
<p>"What the fuck is this?"<.p>
<.body>
<.html>;
}; };
} }

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>