Added a skeleton page for planet.

This commit is contained in:
Eli Barzilay 2010-06-08 15:59:21 -04:00
parent 6caabb92cc
commit 2d312484f7
4 changed files with 19 additions and 10 deletions

View File

@ -8,8 +8,6 @@
;; ---------------------------------------------------------------------------- ;; ----------------------------------------------------------------------------
;; Pages that are made outside of this system ;; Pages that are made outside of this system
(define* -planet @make-link["http://planet.racket-lang.org/"]{PLaneT})
(define doc-url "http://docs.racket-lang.org/") (define doc-url "http://docs.racket-lang.org/")
(define* -docs @make-link[doc-url]{Documentation}) (define* -docs @make-link[doc-url]{Documentation})

View File

@ -4,6 +4,7 @@
(define sites (define sites
'(("www" "http://racket-lang.org/") '(("www" "http://racket-lang.org/")
("download" "http://download.racket-lang.org/") ("download" "http://download.racket-lang.org/")
("stubs/planet" "http://planet.racket-lang.org/")
("stubs/pre" "http://pre.racket-lang.org/") ("stubs/pre" "http://pre.racket-lang.org/")
("stubs/git" "http://git.racket-lang.org/") ("stubs/git" "http://git.racket-lang.org/")
("stubs/blog" "http://blog.racket-lang.org/"))) ("stubs/blog" "http://blog.racket-lang.org/")))
@ -13,4 +14,5 @@
;; Each is a "hostname:dest-path", and then a list of directories to ;; Each is a "hostname:dest-path", and then a list of directories to
;; put in that path. (Warning: "dest" should not be a top-level ;; put in that path. (Warning: "dest" should not be a top-level
;; directory that already exists.) ;; directory that already exists.)
'(("champlain:/www" "www" "download"))) '(["champlain:/www" "www" "download"]
["winooski:~wwwplanet/html-template/" "stubs/planet/"])) ; note "/"s

View File

@ -1,5 +1,5 @@
#lang at-exp s-exp "common.rkt" #lang at-exp s-exp "common.rkt"
(require "www/main.rkt" "download/main.rkt") (require "www/main.rkt" "download/main.rkt" "stubs/planet.rkt")
(set-navbar! (list main download -docs -planet community outreach+research) (set-navbar! (list main download -docs planet community outreach+research)
help) help)

View File

@ -0,0 +1,9 @@
#lang at-exp s-exp "../common.rkt"
(define-context "stubs/planet")
(provide planet)
(define planet
(page #:file "" #:link-title "PLaneT" #:window-title "{{{TITLE}}}"
;; This is a stub page to get the header for planet
"{{{BODY}}}"))