Viewing historical versions of pages now works, and show historical version of partials as well
This commit is contained in:
parent
f47af0ecae
commit
f34eabd7df
2 changed files with 6 additions and 4 deletions
|
@ -23,7 +23,7 @@
|
|||
{% block js %}
|
||||
<script>
|
||||
$(function(){
|
||||
$("#page-content").html(MDR.convert({{ page.data|tojson|safe }}, {{ partials|tojson|safe }})).show();
|
||||
$("#page-content").html(MDR.convert({{ page.data|tojson|safe }}, {{ partials|d([])|tojson|safe }})).show();
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue