Permalink
Browse files

index.mustache

  • Loading branch information...
1 parent 5c7e50b commit e3e4fed7f5407f707f0963ac7d8c67b5eb75d90e @defunkt defunkt committed Mar 6, 2010
Showing with 53 additions and 11 deletions.
  1. +1 −1 Rakefile
  2. +10 −10 index.html
  3. +42 −0 index.mustache
View
2 Rakefile
@@ -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
View
20 index.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <title>{{ mustache }}</title>
+ <title>&#123;&#123; mustache }}</title>
<style>
* {
margin: 0;
@@ -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
@@ -39,4 +39,4 @@
</p>
-</html>
+</html>
View
42 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.