Skip to content

Commit 2ccfb7a

Browse files
committed
Guard functions
1 parent dc67fff commit 2ccfb7a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,11 @@ <h4>Properties:</h4>
153153
</ul>
154154

155155
<h4>Functions:</h4>
156-
{%if not functions.length%}
156+
{%if not functions%}
157+
<ul class="functions inner-block">
158+
<li>No functions available.</li>
159+
</ul>
160+
{%elsif not functions.length%}
157161
<ul class="functions inner-block">
158162
<li>No functions available.</li>
159163
</ul>

0 commit comments

Comments
 (0)