Skip to content
Snippets Groups Projects
Commit 91eb0825 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Adding the urlize filter so urls are clickable

parent 2848aa51
Branches
No related tags found
No related merge requests found
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
{% endif %} {% endif %}
<h1>{{ message.heading }}</h1> <h1>{{ message.heading }}</h1>
<p class="byline">{{message.date_pub | date:"Y-m-d"}} / {{message.created_by}}</p> <p class="byline">{{message.date_pub | date:"Y-m-d"}} / {{message.created_by}}</p>
<p class="lead">{{message.lead_paragraph}}</p> <p class="lead">{{message.lead_paragraph|urlize}}</p>
<p>{{message.body|linebreaks}}</p> <p>{{message.body|urlize|linebreaks}}</p>
</div> </div>
</div> </div>
{% endblock %} {% endblock %}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment