PhilHarnish / philharnish.com
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
tree 03d8f8c98951f7a72d474debdb5babb512e977d3
parent 8644b4b84933fb080622886558533efc348cc1f0
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README.markdown | ||
| |
site/ | ||
| |
src/ |
PhilHarnish.com
This is a port of the static html pages used on my website. The code and images are released in the public domain and free for use in any context.
I started this project to learn the haml and sass templating languages. In the end the output wasn't much smaller than the code (~50% smaller). For larger projects or more structured data I could definitely see using haml for HTML generation.
I don't expect to do very much HTML generating server side in the sort of web apps I enjoy writing. At most I would use haml to generate the client-side templates and stitch them together in a JS template engine like pure.
To build this site you will need the following ruby gems:
- haml
- sass
- staticmatic
- maruku (or any other compatible markdown parser)
Run staticmatic preview . to view edits on a live local webserver. staticmatic build . will build the static files into the site directory.
Or download the generated files manually at philharnish.com, though I can't imagine what the point of that would be--there isn't anything particularly useful in the output.

