Skip to content

Commit

Permalink
add projects page example
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Mar 30, 2010
1 parent 5de33d7 commit 9b90847
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
26 changes: 26 additions & 0 deletions examples/projects.mustache
@@ -0,0 +1,26 @@
<!DOCTYPE HTML>
<html>
<head>
<title> projects </title>
<style>.row { width: {{width}}px; }</style>
</head>

<body>
<h1> projects </h1>

<div class="row">
{{#projects}}
<a href="{{url}}" class="block">
<h2> {{name}} </h2>
<p> {{description}} </p>
</a>
{{/projects}}
</div>

<div class="back">
<a href="/">
&#8617;
</a>
</div>
</body>
</html>
28 changes: 28 additions & 0 deletions examples/projects.yml
@@ -0,0 +1,28 @@
---
projects:
- name: resque
url: http://github.com/defunkt/resque
description: A Redis-backed Ruby library for queueing and working.
- name: mustache
url: http://defunkt.github.com/mustache
description: Logic-less templates.
- name: pystache
url: http://github.com/defunkt/pystache
description: Mustache in Python
- name: hub
url: http://github.com/defunkt/hub
description: hub introduces git to GitHub
- name: repl
url: http://github.com/defunkt/repl
description: sometimes you need a repl
- name: gist
url: http://github.com/defunkt/gist
description: Absolutely the best command line gister.
- name: gem-man
url: http://defunkt.github.com/gem-man/
description: "View a RubyGem's man page"
- name: hurl
url: http://hurl.it/
description: Hurl makes HTTP requests
width: 4968
---

0 comments on commit 9b90847

Please sign in to comment.