1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-05-04 12:57:07 +01:00

Multiple: Fix skill keywords collection glitches.

This commit is contained in:
devlinjd
2015-11-05 11:53:17 -05:00
parent 2261537724
commit 7be839bdbf
6 changed files with 14 additions and 10 deletions

View File

@ -64,9 +64,11 @@ engine: Underscore
<strong>{{ skill.name }}</strong>
<div class="space-top labels">
{% skill.keywords.forEach(function(kw) { %}
<span class="label label-keyword">{{ kw }}</span>
{% }); %}
{% if( skill.keywords && skill.keywords.length ) { %}
{% skill.keywords.forEach(function(kw) { %}
<span class="label label-keyword">{{ kw }}</span>
{% }); %}
{% } %}
</div>
</div>
</li>

View File

@ -60,9 +60,11 @@ engine: Underscore
<strong>{{ skill.name }}</strong>
<div class="space-top labels">
{% skill.keywords.forEach(function(kw) { %}
<span class="label label-keyword">{{ kw }}</span>
{% }); %}
{% if( skill.keywords && skill.keywords.length ) { %}
{% skill.keywords.forEach(function(kw) { %}
<span class="label label-keyword">{{ kw }}</span>
{% }); %}
{% } %}
</div>
</div>
</li>