Add inverted section.

This commit is contained in:
Justin Hileman
2010-04-26 18:58:58 -04:00
parent 5400cd91a0
commit fc170fca11
4 changed files with 32 additions and 11 deletions
@@ -0,0 +1,5 @@
<?php
class InvertedSection extends Mustache {
public $repo = array();
}
@@ -0,0 +1,2 @@
{{#repo}}<b>{{name}}</b>{{/repo}}
{{^repo}}No repos :({{/repo}}
@@ -0,0 +1 @@
No repos :(