Skip to content
Browse files

add projects page example

  • Loading branch information...
1 parent 5de33d7 commit 9b90847726425ce57d4a99544eaf3808e1bc6156 @defunkt defunkt committed
Showing with 54 additions and 0 deletions.
  1. +26 −0 examples/projects.mustache
  2. +28 −0 examples/projects.yml
View
26 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>
View
28 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.
Something went wrong with that request. Please try again.