|
templates.js_dir |
|
templates.js_dir is a string variable containing the relative path to the directory containing the JavaScript files used by the blog pages.
In the default base template, templates.js_dir is used in the <head> section to specify where the JavaScript files are.
Example
The example below is a simplified version of the code from the default base template:
<head>
[other <head> contents here]
<script language="javascript" type="text/javascript" src="{{templates.js_dir}}/rich_edit.js"></script>
[other <head> contents here]
</head>