removed duplicate related_spaces and tags (#649)

This commit is contained in:
Ali Abdalla 2022-02-17 16:10:51 +04:00 committed by GitHub
parent d6bfa72ae2
commit cc42af8264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,24 +111,7 @@
</div>
{% endfor %}
</div>
<p class='mb-2 text-sm text-gray-500'>
<span class="italic">Related Spaces:</span>
{% for space in spaces %}
<a href='{{ space }}' target='_blank' class="hover:text-blue-500 transition">{{ space[30:] }}</a>
{% if not loop.last %}, {% endif %}
{% endfor %}
</p>
{% endif %}
{% if tags is not none %}
<p class='mb-2 text-sm text-gray-500'>
<span class="italic">Tags:</span>
{% for tag in tags %}
<span>{{ tag }}</span><!--
-->{% if not loop.last %}, {% endif %}
{% endfor %}
</p>
{% endif %}
{% endif %}
<div class="prose mt-6">
{{ template_html|safe }}