Created
February 7, 2013 05:38
-
-
Save yuya-matsushima/4728817 to your computer and use it in GitHub Desktop.
Middlemanデフォルトのerbファイルをslimに書き換えました。
This file contains 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
--- | |
title: Welcome to Middleman | |
--- | |
.welcome | |
h1 Middleman is Watching | |
p.doc | |
== link_to "Read Online Documentation", "http://middlemanapp.com/" |
This file contains 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 | |
meta charset="utf-8" | |
/! Always force latest IE rendering engine or request Chrome Frame | |
meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" | |
/! Use title if it's in the page YAML frontmatter | |
title == data.page.title || "The Middleman" | |
== stylesheet_link_tag "normalize", "all" | |
== javascript_include_tag "all" | |
body class="#{page_classes}" | |
== yield |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment