summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorJulie Lala <jules@okfoc.us>2014-07-17 14:01:30 -0400
committerJulie Lala <jules@okfoc.us>2014-07-17 14:01:30 -0400
commitd5f045f5b8f3b35bd7fda5aa39110c544e707de9 (patch)
tree72bae8f90a65dd33155023e5310cb47fec5a311a /views
parentf20841988ccd27780d3801e4a6c32bf9afcc9368 (diff)
weird youtube defer bug
Diffstat (limited to 'views')
-rwxr-xr-xviews/home.ejs3
-rw-r--r--views/projects/list-projects.ejs2
2 files changed, 4 insertions, 1 deletions
diff --git a/views/home.ejs b/views/home.ejs
index 97d59dc..45a6e6f 100755
--- a/views/home.ejs
+++ b/views/home.ejs
@@ -25,6 +25,9 @@
<h1>Room Showcase</h1>
<table class="showcase">
+ [[ include projects/list-projects ]]
+
+
<tr>
<td class="border room1">
<a href="/" class="roomName">Pace Gallery • 7.1.14</a>
diff --git a/views/projects/list-projects.ejs b/views/projects/list-projects.ejs
index 2c12af0..205e778 100644
--- a/views/projects/list-projects.ejs
+++ b/views/projects/list-projects.ejs
@@ -1,5 +1,5 @@
[[ if (projects.length) { ]]
- <h1>[[- profile.username ]] has [[- projects.length ]] project[[- projects.length != 1 && "s" ]]</h1>
+ <h1>[[- profile.username ]] has [[- projects.length ]] project[[- projects.length != 1 ? "s" : "" ]]</h1>
<table>
<tr>