mirror of
https://github.com/Superredstone/patrickcanal.it.git
synced 2026-10-01 22:38:52 +02:00
feat(portfolio): add dark_text field to project tags
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<p>{{ project.short_description }}</p>
|
||||
<div>
|
||||
{% for t in project.tags.all %}
|
||||
<div class="badge text-white fs-5"
|
||||
<div class="badge {% if t.dark_text %}text-black{% else %}text-white{% endif %} fs-5"
|
||||
style="background-color: #{{ t.color }}">{{ t }}</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user