From 7d8763b308ded8e5af55f316cba7be0323c7c529 Mon Sep 17 00:00:00 2001 From: blankie Date: Sat, 8 Oct 2022 17:34:11 +0700 Subject: [PATCH] ? --- src/page-file.rkt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/page-file.rkt b/src/page-file.rkt index 466de49..d3b808d 100644 --- a/src/page-file.rkt +++ b/src/page-file.rkt @@ -51,8 +51,8 @@ `(div (p ,(if (non-empty-string? video-embed-code) - `(span (a (@ (href ,(u-proxy-url raw-image-url))) "View original file") ". ") - `(return-no-element)) + `"" + `(span (a (@ (href ,(u-proxy-url raw-image-url))) "View original file") ". ")) "Added by " (a (@ (href ,(u-proxy-url user-page-url))) ,username) "." @@ -62,10 +62,14 @@ (λ (article) (define page-path (jp "/title" article)) (define title (jp "/titleText" article page-path)) - `(a (@ (href ,(format "/~a/wiki/~a" wikiname page-path))) - ,title)) + `(span + (a (@ (href ,(format "/~a/wiki/~a" wikiname page-path))) + ,title) + `(if (eq? (car smaller-article-list) article)) + "" + ", ")) smaller-article-list)) - `(if (= article-list-is-smaller 1) + `(if (eq? article-list-is-smaller 1) "…" ".")))) ; ,(update-tree-wiki image-description wikiname)