Permalink
Browse files

Assume absolute URL for logo.

  • Loading branch information...
1 parent 8b5e12b commit 11477b2036aece6fb4dd38e61e8847807b23dc29 @jgm committed Nov 23, 2008
Showing with 2 additions and 1 deletion.
  1. +1 −1 Gitit.hs
  2. +1 −0 README.markdown
View
2 Gitit.hs
@@ -917,7 +917,7 @@ formattedPage layout page params htmlContents = do
anchor ! [href "/", title "Go to top page"] <<
case wikiLogo cfg of
Nothing -> noHtml
- Just f -> image ! [src $ "/" ++ f]
+ Just f -> image ! [src f]
, sitenav
, tools ]
, thediv ! [identifier "maincol"] <<
View
1 README.markdown
@@ -123,6 +123,7 @@ option `-f [filename]`. A configuration file takes the following form:
- `wikiLogo` is either `Nothing` (no logo) or `Just "/url/of/logo"`.
By default, the logo is set to `/img/logo.png`, so the easiest way to
change the logo is just to copy a new file to `static/img/logo.png`.
+ Be sure to use an absolute URL.
- `wikiTitle` is the title that will be shown on the browser's title bar,
together with the name of the page being viewed.

0 comments on commit 11477b2

Please sign in to comment.