This commit is contained in:
blankie 2022-10-08 22:52:23 +07:00
parent cb2fb07b24
commit 2cd489658a
Signed by: blankie
GPG key ID: CC15FC822C7F61F5

View file

@ -118,7 +118,10 @@
(if (not (jp "/exists" media-detail #f))
(next-dispatcher)
(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
#:source-url source-url
#:wikiname wikiname