X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Rakka%2FResource%2FRender.hs;h=bcfd17f209f48cb526a8252247fa07c3e47f11f2;hb=ee28059eadd401e5f9256df590bbb7491f952685;hp=c4c8da062c93bdac1358046946867330b9c06c12;hpb=fa3a9d0aecede2431e669ef33885a116f7d5f0be;p=Rakka.git diff --git a/Rakka/Resource/Render.hs b/Rakka/Resource/Render.hs index c4c8da0..bcfd17f 100644 --- a/Rakka/Resource/Render.hs +++ b/Rakka/Resource/Render.hs @@ -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"