diff --git a/tags.nix b/tags.nix index 5fd1d7b..1f4e425 100644 --- a/tags.nix +++ b/tags.nix @@ -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"]; diff --git a/templaters/basic.nix b/templaters/basic.nix index d077252..d552463 100644 --- a/templaters/basic.nix +++ b/templaters/basic.nix @@ -111,7 +111,7 @@ }) ])) (body '' - + ${script "0"} ${sidebarSection} ${div {class = "content";} content} '')