diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
 # Changelog
 
+#### 0.17.0.6
+
+* Fix linking of documentation resources (thanks Jan-Philip Loos)
+
 #### 0.17.0.5
 
 * Allow `aeson 0.9.*`
diff --git a/rest-gen.cabal b/rest-gen.cabal
--- a/rest-gen.cabal
+++ b/rest-gen.cabal
@@ -1,5 +1,5 @@
 name:                rest-gen
-version:             0.17.0.5
+version:             0.17.0.6
 description:         Documentation and client generation from rest definition.
 synopsis:            Documentation and client generation from rest definition.
 maintainer:          code@silk.co
diff --git a/src/Rest/Gen/Docs.hs b/src/Rest/Gen/Docs.hs
--- a/src/Rest/Gen/Docs.hs
+++ b/src/Rest/Gen/Docs.hs
@@ -71,8 +71,9 @@
             $ setManyAttrib
                    [ ("listing"  , map (renderHtml . (\v -> resourceLinkAnchor v (resourceDisp v))) . sort . allSubResourceIds $ tree) ]
             $ setManyAttrib
-                   [ ("resources", renderHtml $ subResourcesInfo ctx tree )
-                   , ("version",   show $ contextVersion ctx  )
+                   [ ("resources" , renderHtml $ subResourcesInfo ctx tree )
+                   , ("version"   , show $ contextVersion ctx  )
+                   , ("static"    , rootUrl ctx  )
                    ]
                    tmpl
 
@@ -93,6 +94,7 @@
                    , ("urls"        , renderHtml $ resourceTable tree)
                    , ("description" , resDescription tree)
                    , ("version"     , show $ contextVersion ctx)
+                   , ("static"      , rootUrl ctx  )
                    ]
                    tmpl
 
