move site into pandora.json

This commit is contained in:
j 2010-09-13 17:45:06 +02:00
parent a2311b0c11
commit 2ad4c5eba0
3 changed files with 3 additions and 10 deletions

View file

@ -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.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.js"></script>
<script type="text/javascript" src="/static/oxjs/build/js/ox.ui.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.js"></script>
<script type="text/javascript" src="/static/js/pandora.local.js"></script> <script type="text/javascript" src="/static/js/pandora.local.js"></script>
</head> </head>

View file

@ -1,4 +1,7 @@
{ {
"name": "{{settings.SITENAME}}",
"id": "{{settings.SITEID}}",
"url": "{{settings.URL}}",
"findKeys": [ "findKeys": [
{"id": "all", "title": "All"}, {"id": "all", "title": "All"},
{"id": "title", "title": "Title", "autocomplete": true}, {"id": "title", "title": "Title", "autocomplete": true},

View file

@ -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 %}