What can I do with Hammer tags?
Running your project under Hammer means you can do things you can’t normally do with standard markup and code. When any of the following features are used in your project files, Hammer will compile the markup to standard HTML inside your Build folder.
Remember, Hammer is required to use these features in development, but anyone with a web browser can view the files in the Build folder.
Some Hammer features happen automatically, some of them are called with an HTML comment formatted tag - <!-- @keyword example -->
Clever Paths
<img src="<!-- @path mac.png -->"/>
HTML Includes
<!-- @include _header.html -->
Stylesheets & JavaScript
<!-- @javascript main.js -->
<!-- @stylesheet style.css -->
Read more about Stylesheet & Javascript tags
Navigation Helpers
<ul class="menu">
<li><a href="<!-- @path index.html -->">Home</a></li>
<li><a href="<!-- @path about.html -->">About</a></li>
<li><a href="<!-- @path contact.html -->">Contact</a></li>
</ul>
Read more about navigation helpers
Variables
Todos
<!-- @todo Fix this later -->
Image Placeholders
<!-- @placeholder 400x300 -->
Read more about image placeholders
Automatic Reload
<!-- @reload -->