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:
parent
86ba79747d
commit
730e3eb8f0
2 changed files with 10 additions and 10 deletions
11
flake.nix
11
flake.nix
|
@ -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
9
html.nix
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue