_includes/footer.html in askclass-course-theme-0.6.0 vs _includes/footer.html in askclass-course-theme-0.7.0
- old
+ new
@@ -1,10 +1,12 @@
<footer>
<ul>
{% for item in site.acc.footer -%}
<li>
- <span class="material-symbols-outlined">{{ item.icon }}</span>
+ {%- if item.icon -%}
+ <span class="material-symbols-outlined">{{ item.icon }}</span>
+ {%- endif -%}
<a href="{{ item.href }}">{{ item.text }}</a>
</li>
{%- endfor %}
</ul>
</footer>