mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
removed duplicate related_spaces and tags (#649)
This commit is contained in:
parent
d6bfa72ae2
commit
cc42af8264
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user