sociallinks safe

This commit is contained in:
timurgordon
2024-03-06 16:08:35 -05:00
parent 7bf2798af6
commit 665c210459

View File

@@ -3,6 +3,7 @@
{% endif %} {% endif %}
<div class="flex space-x-4"> <div class="flex space-x-4">
{%if section.extra.socialLinks%}
{% for key, link in section.extra.socialLinks %} {% for key, link in section.extra.socialLinks %}
<a href="{{link}}" target="_blank" class="text-gray-400 hover:text-gray-500"> <a href="{{link}}" target="_blank" class="text-gray-400 hover:text-gray-500">
@@ -27,5 +28,6 @@
</a> </a>
{% endfor %} {% endfor %}
{%endif%}
</div> </div>