cablegates/pandora/templates/site.js

9 lines
194 B
JavaScript
Raw Normal View History

2010-02-08 11:28:36 +00:00
var site = {};
site.url = "{{settings.URL}}";
site.name = "{{settings.SITENAME}}";
2010-02-10 13:10:14 +00:00
site.pages = {};
{% for page in pages %}
site.pages['{{page.name}}'] = '{{page.body|escapejs}}';
{% endfor %}