diff --git a/pandora/templates/index.html b/pandora/templates/index.html index d491379d..8dcb64be 100644 --- a/pandora/templates/index.html +++ b/pandora/templates/index.html @@ -10,7 +10,6 @@ - diff --git a/pandora/templates/pandora.json b/pandora/templates/pandora.json index 7c400e80..dfadac5c 100644 --- a/pandora/templates/pandora.json +++ b/pandora/templates/pandora.json @@ -1,4 +1,7 @@ { + "name": "{{settings.SITENAME}}", + "id": "{{settings.SITEID}}", + "url": "{{settings.URL}}", "findKeys": [ {"id": "all", "title": "All"}, {"id": "title", "title": "Title", "autocomplete": true}, diff --git a/pandora/templates/site.js b/pandora/templates/site.js deleted file mode 100644 index 37575bca..00000000 --- a/pandora/templates/site.js +++ /dev/null @@ -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 %}