Fix RacketCon link

(now that the main con link just aggregates the
 year pages, the old behavior is not useful)
This commit is contained in:
Asumu Takikawa 2013-10-10 14:05:27 -04:00
parent ae4f9c5ff2
commit 697ac8dc42

View File

@ -53,7 +53,7 @@
(define* (-rcon [year #f] . text)
(define years '(2013 2012 2011))
(a href: (list "http://con.racket-lang.org/"
(and year (not (eq? year (car years))) (list year "/")))
(and year (list year "/")))
(cond [(pair? text) text]
[(not year) "RacketCon"]
[else year])))