Fixed showing "siblings" text even if theren't any
This commit is contained in:
parent
005d857cfb
commit
ec2fe23f7e
1 changed files with 14 additions and 12 deletions
|
@ -77,19 +77,21 @@
|
||||||
<% } %>
|
<% } %>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div class="siblings">
|
<% if (siblings.length) { %>
|
||||||
<h3>Siblings</h3>
|
<div class="siblings">
|
||||||
|
<h3>Siblings</h3>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<% _.each(siblings.slice(0, 50), function(tag) { %>
|
<% _.each(siblings.slice(0, 50), function(tag) { %>
|
||||||
<li class="tag-category-<%= tag.category %>">
|
<li class="tag-category-<%= tag.category %>">
|
||||||
<a href="#/tag/<%= tag.name %>
|
<a href="#/tag/<%= tag.name %>
|
||||||
"><%= tag.name %>
|
"><%= tag.name %>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<% }) %>
|
<% }) %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
<div class="post-list">
|
<div class="post-list">
|
||||||
<h3>Example usages</h3>
|
<h3>Example usages</h3>
|
||||||
|
|
Loading…
Reference in a new issue