OLD | NEW |
1 # Variables # | 1 # Variables # |
2 | 2 |
3 The following variables can be used on pages: | 3 The following variables can be used on pages: |
4 | 4 |
5 * `page`: The page name | 5 - `page`: The page name |
6 * `config`: Contents of the `settings.ini` file in this repository (a | 6 - `config`: Contents of the `settings.ini` file in this repository (a |
7 [configparser object](http://docs.python.org/2/library/configparser.html)) | 7 [configparser object](http://docs.python.org/2/library/configparser.html)) |
8 * `locale`: Locale code of the page language | 8 - `locale`: Locale code of the page language |
9 * `available_locales`: Locale codes of all languages available for this page | 9 - `available_locales`: Locale codes of all languages available for this page |
| 10 - `site_url`: URL at which the website is served. The value is taken from |
| 11 `settings.ini` (`general/siteurl`) during static generation and is equal to |
| 12 the test server URL (normally `http://localhost:5000`) when working with the |
| 13 test server. |
OLD | NEW |