Skip to content

Commit 84d5092

Browse files
authored
Merge pull request #3825 from ccnmtl/flatpage-markdown
Render flatpages with markdown
2 parents 75c88a0 + 690cc8d commit 84d5092

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{% extends "base.html" %}
2+
{% load markdownify %}
23

34
{% block title %}{{ flatpage.title }}{% endblock %}
45

56
{% block pagetitle %}<h1>{{ flatpage.title }}</h1>{% endblock %}
67

78
{% block content %}
8-
{{ flatpage.content }}
9+
{{ flatpage.content | markdownify }}
910
{% endblock %}

0 commit comments

Comments
 (0)