Navigation Menu

Skip to content

Commit

Permalink
index.mustache
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Mar 6, 2010
1 parent 5c7e50b commit e3e4fed
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -12,5 +12,5 @@ end
desc "Build the index.html"
task :build do
exec "ruby -rubygems data.rb > data.yml &&
cat data.yml index.html | mustache > index.html"
cat data.yml index.mustache | mustache > index.html"
end
20 changes: 10 additions & 10 deletions index.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>{{ mustache }}</title>
<title>&#123;&#123; mustache }}</title>
<style>
* {
margin: 0;
Expand All @@ -21,14 +21,14 @@
<span id="logo">}</span>
<p>Logic-less templates.
Available in
{{#languages}}
<a href="{{url}}">{{name}}</a>,
{{/languages}}
{{#last_language}}
and for
<a href="{{url}}">{{name}}</a>.
{{/last_language}}
</p>
<a href="http://github.com/janl/mustache.js">JavaScript</a>,
<a href="http://github.com/mojombo/mustache.erl">Erlang</a>,
<a href="http://github.com/hoisie/mustache.go/">Go</a>,
<a href="http://github.com/defunkt/pystache">Python</a>,
<a href="http://github.com/nrk/hige">Lua</a>,
and for
<a href="http://github.com/raycmorgan/Mu">node.js</a>.
</p>

<p>
Works great with
Expand All @@ -39,4 +39,4 @@
</p>


</html>
</html>
42 changes: 42 additions & 0 deletions index.mustache
@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html>
<head>
<title>&#123;&#123; mustache }}</title>
<style>
* {
margin: 0;
padding: 0;
}
#logo {
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
text-align: center;
display: block;
font-size: 250px;
font-family: Georgia;
}
</style>
</head>
<body>
<span id="logo">}</span>
<p>Logic-less templates.
Available in
{{#languages}}
<a href="{{url}}">{{name}}</a>,
{{/languages}}
{{#last_language}}
and for
<a href="{{url}}">{{name}}</a>.
{{/last_language}}
</p>

<p>
Works great with
<a href="">Emacs</a>,
<a href="">Vim</a>,
and
<a href="">TextMate</a>.
</p>


</html>

0 comments on commit e3e4fed

Please sign in to comment.