Clever methods and helpers to make your builds easier to maintain & quicker to code
Hammer has some built in features that happen automatically, and some clever functions you use with special Hammer tags
-
HTML Includes
Front-end developers shouldn't have to run local server environments, or use PHP just to put one HTML file inside another. With Hammer, you don't have to.
<!-- @include _header.html --> -
Clever Paths
Wouldn't it be great if you could just reference an asset by name? Hammer will search your project for the file you reference, and write the file-path for you automagically.
<a href="<!-- @path home.html -->">Home</a> -
Variables & Helpers
Set and use variables in your template files and bend your templates to your will. Hammer also adds helpful classes to your HTML link tags, making menu logic a thing of the past.
<!-- $foo Bar --> <p><!-- $foo --></p> -
Auto Reload
Every time Hammer finishes compiling your project, it automatically refreshes your browser to show your latest changes and keep things up-to-date.
<!-- @reload --> -
CoffeeScript & SASS (with Bourbon mixins)
Hammer knows all about CoffeeScript, SASS & SCSS - and automatically compiles them into JavaScript & CSS. You can also use special tags to reference them in the <head>.
<!-- @stylesheet master --><!-- @javascript js/* --> -
Publish Builds
With Hammer's one-click publishing, you can share your work using a unique short URL. Show your clients, get feedback, then iterate quickly and easily.
Want to know exactly how these work? View the online Hammer Documentation for examples & code


