github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

PhilHarnish / philharnish.com

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A rewrite of my static HTML website to use haml, sass, and ruby codegen. — Read more

  cancel

http://philharnish.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Updated FB. Added remaining social networks. 
PhilHarnish (author)
Sat Jun 13 23:33:21 -0700 2009
commit  1ad9bad6ee34efd68542d07352d0d9a3bbb16380
tree    03d8f8c98951f7a72d474debdb5babb512e977d3
parent  8644b4b84933fb080622886558533efc348cc1f0
philharnish.com /
name age
history
message
file .gitignore Loading commit data...
file README.markdown
directory site/
directory src/
README.markdown

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.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server