Markdown: Convert Markdown via Jinja filter in the template

This gets rid of the use of javascript for converting node/post description.
Now we only use markdown.js for real time as-we-type stuff, like node/post
editing or commenting.
This commit is contained in:
2017-11-23 16:49:19 +01:00
parent c086cff36e
commit 7252055e4a
11 changed files with 11 additions and 23 deletions

View File

@@ -15,7 +15,7 @@
| {% if node.description %}
.node-details-description
| {{node.description}}
| {{ node.description | markdown }}
| {% endif %}
section.node-children.group