Add JS page info
This commit is contained in:
parent
2b7d990bb9
commit
0394e4b0d4
5 changed files with 25 additions and 5 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
{% block title %}{{ p.title }} - {{ app_name }}{% endblock %}
|
||||
|
||||
{% block json_info %}<script>window.page_info={{ p.js_info()|tojson|safe }};</script>{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ p.title }}</h1>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue