move site into pandora.json
This commit is contained in:
parent
a2311b0c11
commit
2ad4c5eba0
3 changed files with 3 additions and 10 deletions
|
@ -10,7 +10,6 @@
|
|||
<script type="text/javascript" src="/static/oxjs/build/js/ox.load.js"></script>
|
||||
<script type="text/javascript" src="/static/oxjs/build/js/ox.js"></script>
|
||||
<script type="text/javascript" src="/static/oxjs/build/js/ox.ui.js"></script>
|
||||
<script type="text/javascript" src="/site.js"></script>
|
||||
<script type="text/javascript" src="/static/js/pandora.js"></script>
|
||||
<script type="text/javascript" src="/static/js/pandora.local.js"></script>
|
||||
</head>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
{
|
||||
"name": "{{settings.SITENAME}}",
|
||||
"id": "{{settings.SITEID}}",
|
||||
"url": "{{settings.URL}}",
|
||||
"findKeys": [
|
||||
{"id": "all", "title": "All"},
|
||||
{"id": "title", "title": "Title", "autocomplete": true},
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
var site = {};
|
||||
site.url = "{{settings.URL}}";
|
||||
site.name = "{{settings.SITENAME}}";
|
||||
site.id = "{{settings.SITEID}}";
|
||||
|
||||
site.pages = {};
|
||||
{% for page in pages %}
|
||||
site.pages['{{page.name}}'] = '{{page.body|escapejs}}';
|
||||
{% endfor %}
|
Loading…
Reference in a new issue