![]() Only one resource (`make-navbar') returns a function now, the others return just misc contents. Dump the idea of a `head' resource which complicated things whenever something new needed to be injected into the head section -- and instead do the head assembly in the page layout function. Turn the preamble and postamble into resources too in preparation for more contents taht is used in the postamble, mostly dealing with resource files. (The former doesn't need to be one since it's just static text, but make it symmetric.) Finally, the resources (implemented in `make-resources') have some symbols that return things that are constructed by the code, and the rest are files that are copied. There are also some symbolic names that stand for "special" resources -- these should get attention on changes, since they are mostly there to expose some things for various pages. For example, if more CSS is added, `style-path' should change to be a list of CSS files and the code that uses it (in the git content that is derived by gitweb) should also be adjusted to deal with more than one file. |
||
---|---|---|
.. | ||
css | ||
fonts/icons | ||
img | ||
js | ||
sass | ||
web | ||
.gitignore | ||
apple-touch-icon-precomposed.png | ||
apple-touch-icon.png | ||
bower.json | ||
build-web | ||
config.rb | ||
demo.html | ||
demo2.html | ||
facebook.jpg | ||
favicon.ico | ||
favicon.png | ||
humans.txt | ||
index-TODO.html | ||
index.html | ||
index.rkt | ||
Makefile | ||
racket2.html | ||
racketcon.html | ||
README.md | ||
TODO | ||
ui.html |
New Racket Web Page
This is a revision of the existing Racket web page, based on the Gumby framework.