Skip to content

Commit 7380426

Browse files
Bogdanpmflatt
authored andcommitted
lists: use google group names when constructing subscribe addrs
1 parent db9957d commit 7380426

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lists/index.rkt

+5-3
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,10 @@
7878
@a[href: (list pfx ".gmane.io" path gmane)]{@body}))
7979
(define (mail-archive-link suffix . body)
8080
@a[href: (list "https://www.mail-archive.com/" email "/" suffix)]{@body})
81+
(define google-groups-name
82+
(ML-google-name ml))
8183
(define google-groups-url
82-
(let ([g (ML-google-name ml)])
83-
(and g (list "https://groups.google.com/forum/#!forum/" g "/"))))
84+
(and google-groups-name (list "https://groups.google.com/forum/#!forum/" google-groups-name "/")))
8485
(define google-groups-join-url
8586
(and google-groups-url
8687
(append google-groups-url (list "join"))))
@@ -89,7 +90,8 @@
8990
(define google-groups-join-link-text
9091
(string-append "join the "name" mailing list"))
9192
(define google-groups-join-no-account-text
92-
@span{@span[style: "font-style: italic"]{Without Google account: }send email to @tt[name "[email protected]"]})
93+
(and google-groups-name
94+
@span{@span[style: "font-style: italic"]{Without Google account: }send email to @tt[google-groups-name "[email protected]"]}))
9395
(define ((mk-form make) url #:method [method 'get] . body)
9496
(make @form[action: url method: method
9597
style: "display: inline; clear: none;"]{

0 commit comments

Comments
 (0)