poobrains-pdn/themes/default/project.jinja

11 lines
329 B
Django/Jinja

{% extends "commentable.jinja" %}
{% block content %}
<div class="project-url">Project URL: <a href="{{ content.link }}">{{ content.link }}</a></div>
{% if mode == "full" %}
{{ content.text.render() }}
{% else %}
<pre class="markdown">{{ content.text|truncate }}</pre>
{% endif %}
{% endblock %}