From 915b4a6ad56dae33c9ff12704f9558743e8ea98b Mon Sep 17 00:00:00 2001 From: blankie Date: Sat, 8 Oct 2022 22:55:18 +0700 Subject: [PATCH] f --- src/page-file.rkt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/page-file.rkt b/src/page-file.rkt index 6fba971..4348740 100644 --- a/src/page-file.rkt +++ b/src/page-file.rkt @@ -118,9 +118,9 @@ (if (not (jp "/exists" media-detail #f)) (next-dispatcher) (response-handler - (define title (jp "/fileTitle" media-detail "")) - (define title (if (non-empty-string? title) - (format "File:~a" title) + (define file-title (jp "/fileTitle" media-detail "")) + (define title (if (non-empty-string? file-title) + (format "File:~a" file-title) prefixed-title)) (define body (generate-results-page #:source-url source-url