diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2023-02-23 18:04:20 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2023-02-23 18:38:42 +0100 |
| commit | c48e260f85ea8f203e64cbc2a82ff774cf0b5a9f (patch) | |
| tree | c09fca37e938a58da50b07c71f370392174c4378 /lib/html.nix | |
| parent | 898040b8dd3257783292b9542ce863944e6cc6ea (diff) | |
add doctype
Diffstat (limited to 'lib/html.nix')
| -rw-r--r-- | lib/html.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/html.nix b/lib/html.nix index aa1c839..8bda47c 100644 --- a/lib/html.nix +++ b/lib/html.nix @@ -202,8 +202,9 @@ let "${tagsContainerFuns.time { date = start; } start} - ${ tagsContainerFuns.time { date = end; } end }"; + doctype = type: "<!DOCTYPE ${type}>\n"; in tagsContainerFuns // tagsEmptyFuns // { - inherit for comment container empty file href icon lines mailto timerange; + inherit for comment container doctype empty file href icon lines mailto timerange; } // { sort = let lt = x: y: x < y; |
