This commit is contained in:
dusk 2022-07-31 10:07:56 +03:00
parent ef9f586d1d
commit d30b078411
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
2 changed files with 5 additions and 2 deletions

View File

@ -12,7 +12,10 @@
else tag name {} maybeAttrs;
noChildrenTag = name: attrs: "<${name} ${evalAttrs attrs}>";
tagsToGen = ["ul" "li" "html" "head" "body" "div" "p" "a" "title" "code" "pre" "nav" "article"] ++ (map (n: "h${toString n}") (range 1 6));
tagsToGen =
(map (n: "h${toString n}") (range 1 6))
++ ["ul" "li" "html" "head" "body" "div" "p"]
++ ["a" "title" "code" "pre" "nav" "article" "script"];
tags = genAttrs tag tagsToGen;
noChildrenTagsToGen = ["link" "meta"];

View File

@ -111,7 +111,7 @@
})
]))
(body ''
<script>0</script>
${script "0"}
${sidebarSection}
${div {class = "content";} content}
'')