forked from cadence/breezewiki
prefix
This commit is contained in:
parent
cb2fb07b24
commit
2cd489658a
1 changed files with 4 additions and 1 deletions
|
@ -118,7 +118,10 @@
|
||||||
(if (not (jp "/exists" media-detail #f))
|
(if (not (jp "/exists" media-detail #f))
|
||||||
(next-dispatcher)
|
(next-dispatcher)
|
||||||
(response-handler
|
(response-handler
|
||||||
(define title (jp "/fileTitle" media-detail))
|
(define title (jp "/fileTitle" media-detail ""))
|
||||||
|
(define title (if (non-empty-string? title)
|
||||||
|
(format "File:~a" title)
|
||||||
|
prefixed-title))
|
||||||
(define body (generate-results-page
|
(define body (generate-results-page
|
||||||
#:source-url source-url
|
#:source-url source-url
|
||||||
#:wikiname wikiname
|
#:wikiname wikiname
|
||||||
|
|
Loading…
Reference in a new issue