Skip to content

Instantly share code, notes, and snippets.

@yuya-matsushima
Created February 7, 2013 05:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuya-matsushima/4728817 to your computer and use it in GitHub Desktop.
Save yuya-matsushima/4728817 to your computer and use it in GitHub Desktop.
Middlemanデフォルトのerbファイルをslimに書き換えました。
---
title: Welcome to Middleman
---
.welcome
h1 Middleman is Watching
p.doc
== link_to "Read Online Documentation", "http://middlemanapp.com/"
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