Last active
December 17, 2015 18:19
-
-
Save pedromarins/5652664 to your computer and use it in GitHub Desktop.
Sublime Snippet to create a new page on Hammer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This snippet was created to improve my speed working with Hammer. | |
On a new file I just type hammer and hit tab to create a new file with all the stuff I need to start coding a new page. | |
This works fine for both the Standard Hammer Tamplate and the HTML5 Boilerplate Template. | |
To install it: | |
1. On your Sublime menu go to: Tools > New Snippet... | |
2. Paste the below code into the file. | |
3. Save as "hammer-new-page.sublime-snippet" | |
4. Start using it and enjoy! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content> | |
<![CDATA[ | |
<!-- \$title Index Title --> | |
<!-- @include _header --> | |
<main role=”main”> | |
<!-- Write your HTML! --> | |
</main> | |
<!-- @include _footer --> | |
]]> | |
</content> | |
<tabTrigger>hammer</tabTrigger> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment