
* The main page's title appears in search results, so use "The Racket Language" instead of "Racket". Additional minor tweaks to a few more titles to make them presentable as search results. * Add a `#:description' keyword to make it easy to add it to pages. Add such texts to the main page, downloads, community, learning, people, and mailing list pages. * Add a <meta name="robots" content="NOODP" /> to the front page, to avoid getting the ODP (dmoz) blurb, hopefully the new and improved description(s) will be used instead. (If not, this should be reverted.)
30 lines
1.2 KiB
Racket
30 lines
1.2 KiB
Racket
#lang meta/web
|
|
|
|
(require "resources.rkt" "data.rkt" "../www/download.rkt")
|
|
|
|
(define (in-ftp . paths)
|
|
(string-join (cons "/var/ftp/pub/racket" paths) "/"))
|
|
|
|
(define docs (symlink (in-ftp "docs")))
|
|
(define installers (symlink (in-ftp "installers")))
|
|
(define libs (symlink (in-ftp "libs/tags") "libs"))
|
|
(define stubs (symlink "/www/stubs"))
|
|
|
|
(provide index)
|
|
(define index
|
|
@page[#:link-title "Downloads" #:part-of 'download
|
|
#:description
|
|
@'{Download Racket, a modern dialect of Lisp/Scheme. @;
|
|
Available for Windows, Mac, Linux, and other Unix platforms. @;
|
|
Includes the DrRacket IDE.}]{
|
|
@div[style: "float: right;"]{@download-button}
|
|
Use these links to browse the download directories directly:
|
|
@ul{@li{Current @a[href: `(,installers "/recent")]{installers}
|
|
(or @a[href: installers]{all versions}).}
|
|
@li{Current documentation in
|
|
@a[href: `(,docs "/recent/html")]{HTML} and in
|
|
@a[href: `(,docs "/recent/pdf")]{PDF}
|
|
(or @a[href: docs]{all versions}).}
|
|
@li{Binary @a[href: libs]{libraries} mainly for GRacket
|
|
(installed during the build process).}}})
|