8 lines
194 B
JavaScript
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 %}
|