Collin J. Doering
bfa6e42d9f
Wrapped client side url router in a function that returns an object (the interface for the router). Because javascript passes by reference, passing the array of handler/route objects to the router was an issue so the array of routes used for this application was moved to within the wrapper function. In the future this should be changed so the array is supplied and can be modified with a method like addRoute. Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca> |
||
---|---|---|
clay | ||
files | ||
fonts | ||
images | ||
images-src | ||
js | ||
lib | ||
pages | ||
posts | ||
src | ||
templates | ||
.gitignore | ||
.gitmodules | ||
LICENSE | ||
README.md | ||
Setup.hs | ||
blog-rekahsoft-ca.cabal | ||
site |
README.md
Source Code for #! λ Slang
About
#! λ Slang is the personal technical blog of Collin Doering, built using software that respects our freedoms.
Features
License
Simply put, you're welcome to use the code used to generate this site though there are a few restrictions:
- Any images and artwork that embody the likeness of "#! λ Slang" are not to be distributed or used and are strictly copyright
- The content of pages and posts can be used with attribution, providing you aren't making money off of it
Please see the LICENSE file for full details.
Building
All that is needed to build this site is cabal and a way to fetch required packages (whether
directly via the internet or by using the fetch
argument to cabal).
$ cabal sandbox init # optional but recommended
$ cabal configure
$ cabal install --only-dependencies
$ cabal build
$ ./site build # build site
$ ./site server # view site at http://localhost:3000