usethesource: Add line breaks and linkifying to landing page descriptions

This commit is contained in:
Ben Sturmfels 2024-02-01 12:12:15 +11:00
parent df4c284d57
commit 4bb2a603b2
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -31,7 +31,7 @@
<div class="mb3"> <div class="mb3">
<h3 class="f4 lh-title mt0"><a href="{% url 'usethesource:candidate' slug=candidate.slug %}">{{ candidate.name }}</a></h3> <h3 class="f4 lh-title mt0"><a href="{% url 'usethesource:candidate' slug=candidate.slug %}">{{ candidate.name }}</a></h3>
<p class="mb2"><em>Released {{ candidate.release_date }}</em></p> <p class="mb2"><em>Released {{ candidate.release_date }}</em></p>
<p>{{ candidate.description }}</p> <p>{{ candidate.description|urlize|linebreaksbr}}</p>
</div> </div>
{% endfor %} {% endfor %}
</section> </section>