]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - Rakka/Resource/Render.hs
Record before big change
[Rakka.git] / Rakka / Resource / Render.hs
index c4c8da062c93bdac1358046946867330b9c06c12..bcfd17f209f48cb526a8252247fa07c3e47f11f2 100644 (file)
@@ -255,11 +255,20 @@ notFoundToXHTML
                      += txt " - "
                      += getXPathTreesInDoc "/pageNotFound/@name/text()"
                    )
-                += ( eelem "link"
+                += ( getXPathTreesInDoc "/pageNotFound/styleSheets/styleSheet"
+                     >>>
+                     eelem "link"
                      += sattr "rel"  "stylesheet"
                      += sattr "type" "text/css"
                      += attr "href"
-                            ( getXPathTreesInDoc "/pageNotFound/@styleSheet/text()" )
+                            ( getXPathTrees "/styleSheet/@src/text()" )
+                   )
+                += ( getXPathTreesInDoc "/pageNotFound/scripts/script"
+                     >>>
+                     eelem "script"
+                     += sattr "type" "text/javascript"
+                     += attr "src"
+                            ( getXPathTrees "/script/@src/text()" )
                    )
               )
            += ( eelem "body"