- The settings is now a python file for extra flexibility (thanks to @przerull)
-
You can now create new projects from Git/Hg URLs or local folders.
clay new myproject [email protected]:lucuma/demo.git
-
Added Markdown support with automatic source code highlighting.
-
Fix bug with the Jinja IncludeWith extension and line breaks
- GET and POST values are automatically added to the context.
-
Dropped the Werkzeug's server for the more robust CherryPy's Server (Cheroot).
-
Added pattern matching (UNIX style) to the lists of FILTER and IGNORE.
-
Many improvements to the
active
helper function:-
You can now specify many url patterns as arguments without having to use a list. Eg:
{{ active('/url1/', '/url2/', '/url3/', partial=True) }}
-
Added pattern matching
{{ active('/foo/*') }}
-
Relative URLs now work as well. For example, if the current URL is
/foo/bar.html
, this will match:{{ active('bar.html') }}
-
- _index.txt lists all the pages that also would appear in _index.html.
- Several bugfixes
TDD rewrite. Most important new features:
-
_index.html now is viewable in run mode.
-
No need to filter non-html files. Only those ending in ".html" or ".tmpl" are processed as templates.
-
Adaptative run port (if it is taken, Clay try to use the next one).
-
The "not found" page now shows the real missing templates (for example, when an "imported" template is the one missing).