add service tagline

This commit is contained in:
Tobias Brunner 2025-03-03 17:54:47 +01:00
parent 5157d7c781
commit 928bd0818e
No known key found for this signature in database
4 changed files with 31 additions and 0 deletions

View file

@ -106,6 +106,13 @@
<button class="btn btn-tertiary btn-sm mr-12">{{ category.full_path }}</button>
{% endfor %}
</div>
{% if service.tagline %}
<div class="mt-3">
<p class="fst-italic text-muted fs-19">
"{{ service.tagline }}"
</p>
</div>
{% endif %}
</div>
<!-- Description -->

View file

@ -179,6 +179,11 @@
<span>{{ category.full_path }}</span>
{% endfor %}
</p>
{% if service.tagline %}
<p class="card__tagline fst-italic text-muted">
<small>"{{ service.tagline }}"</small>
</p>
{% endif %}
</div>
<div class="card__desc flex-grow-1">
<p class="mb-0">{{ service.description|safe|truncatewords:30 }}</p>