Created
June 16, 2014 10:16
-
-
Save jasonyost/dd50780c39575bde41d1 to your computer and use it in GitHub Desktop.
Atom snippet for creating HTML document in HAML
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
!!! | |
%html | |
%head | |
%title | |
= content_for?(:title) ? yield(:title) : "" | |
%body | |
= yield |
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
'.text.haml': | |
'HTML 5 Skeleton': | |
'prefix': 'html' | |
'body': '!!!\n%html\n\t%head\n\t\t%title\n\t\t\t= content_for?(:title) ? yield(:title) : "$1"\n\t%body\n\t\t= yield' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment