pandora/oxdb/templates/site.js
2010-02-10 18:40:14 +05:30

8 lines
194 B
JavaScript

var site = {};
site.url = "{{settings.URL}}";
site.name = "{{settings.SITENAME}}";
site.pages = {};
{% for page in pages %}
site.pages['{{page.name}}'] = '{{page.body|escapejs}}';
{% endfor %}