zpelling fix
This commit is contained in:
parent
55fd4daf9c
commit
02f6ca034e
1 changed files with 4 additions and 4 deletions
|
@ -302,7 +302,7 @@ Shuffle Filter
|
||||||
|
|
||||||
.. versionadded:: 1.8
|
.. versionadded:: 1.8
|
||||||
|
|
||||||
This filter will randomize an existing list, giving a differnt order every invocation.
|
This filter will randomize an existing list, giving a different order every invocation.
|
||||||
|
|
||||||
To get a random list from an existing list::
|
To get a random list from an existing list::
|
||||||
|
|
||||||
|
@ -317,12 +317,12 @@ Other Useful Filters
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
To concatenate a list into a string::
|
To concatenate a list into a string::
|
||||||
|
|
||||||
{{ list | join(" ") }}
|
{{ list | join(" ") }}
|
||||||
|
|
||||||
To get the last name of a file path, like 'foo.txt' out of '/etc/asdf/foo.txt'::
|
To get the last name of a file path, like 'foo.txt' out of '/etc/asdf/foo.txt'::
|
||||||
|
|
||||||
{{ path | basename }}
|
{{ path | basename }}
|
||||||
|
|
||||||
To get the directory from a path::
|
To get the directory from a path::
|
||||||
|
|
||||||
|
@ -331,7 +331,7 @@ To get the directory from a path::
|
||||||
To expand a path containing a tilde (`~`) character (new in version 1.5)::
|
To expand a path containing a tilde (`~`) character (new in version 1.5)::
|
||||||
|
|
||||||
{{ path | expanduser }}
|
{{ path | expanduser }}
|
||||||
|
|
||||||
To get the real path of a link (new in version 1.8)::
|
To get the real path of a link (new in version 1.8)::
|
||||||
|
|
||||||
{{ path | readlink }}
|
{{ path | readlink }}
|
||||||
|
|
Loading…
Reference in a new issue