File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5656 <dt class =" col-span-2 font-bold" >Language:</dt >
5757 <dd class =" col-span-3" >{{ item .data .language }} </dd >
5858 {%- endif %}
59- {%- if item .data .templates %}
59+ {%- if item .data .templates and item . data . templates . length > 0 %}
6060 <dt class =" col-span-2 font-bold" >Templates:</dt >
6161 <dd class =" col-span-3" >{{ item .data .templates | join (" , " ) }} </dd >
6262 {%- endif %}
63- {%- if item .data .license %}
63+ {%- if item .data .license and item . data . license . length > 0 %}
6464 <dt class =" col-span-2 font-bold" >License:</dt >
65- <dd class =" col-span-3" >{{ item .data .license }} </dd >
65+ <dd class =" col-span-3" >{{ item .data .license | join ( " , " ) }} </dd >
6666 {%- endif %}
6767 {%- if item .data .typeofcms %}
6868 <dt class =" col-span-2 font-bold" >Type:</dt >
Original file line number Diff line number Diff line change @@ -62,11 +62,11 @@ layout: layouts/base.njk
6262 <dt class =" inline-block font-bold" >Language:</dt >
6363 <dd class =" inline-block mr-6" >{{ language }} </dd >
6464 {%- endif %}
65- {%- if license %}
65+ {%- if license and license . length > 0 %}
6666 <dt class =" inline-block font-bold" >License:</dt >
67- <dd class =" inline-block mr-6" >{{ license }} </dd >
67+ <dd class =" inline-block mr-6" >{{ license | join ( " , " ) }} </dd >
6868 {%- endif %}
69- {%- if templates %}
69+ {%- if templates and templates . length > 0 %}
7070 <dt class =" inline-block font-bold" >Templates:</dt >
7171 <dd class =" inline mr-6" >{{ templates | join (" , " ) }} </dd >
7272 {%- endif %}
You can’t perform that action at this time.
0 commit comments