Last active
December 19, 2015 19:28
-
-
Save yuya-matsushima/6005792 to your computer and use it in GitHub Desktop.
[ Middleman で超速プロトタイピング ] #00 Haml 再入門 | Developers.IO : http://dev.classmethod.jp/ria/html5/middleman-supersonic-00-haml-relearning/ の slim 版
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 hello, Haml | |
%body | |
%h1 hello, Haml! | |
%p Lorem ipsum dolor sit amet | |
%ul#myList | |
- 3.times do |i| | |
%li= "item_#{i}" |
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
doctype html | |
html | |
head | |
title hello, Slim | |
body | |
h1 hello, Slim! | |
p Lorem ipsum dolor sit amet | |
ul#myList | |
- 3.times do |i| | |
li = "item_#{i}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment