gergelypolonkai-web-django/blog/templates/blog/code-chunk.html
Gergely Polonkai 1765929555 Added Code Chunks support
Currently with inline style sheets. That will definitely change soon.
2013-10-21 00:55:12 +02:00

16 lines
370 B
HTML

{% extends 'front_base.html' %}
{% load code_chunks %}
{% block content %}
<div class="code-chunk">
<p class="code-title">{{ codechunk.title }}</p>
{{ codechunk.content|syhilite:codechunk.language }}
{% if codechunk.description %}
<div class="code-description">
{{ codechunk.description|safe }}
</div>
{% endif %}
</div>
{% endblock %}