Permalink
Browse files

added # to ascending array

  • Loading branch information...
1 parent 6d2aea4 commit c1d9b4c8aed651ed453910a77095720da4c22435 @olegp committed Nov 11, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
@@ -67,11 +67,11 @@ It is possible to include reusable blocks of HTML across different templates by
#### List of Pages
-It is possible to get a list of all the pages on the site via the `{{ascending}}` array. For example, this renders a bunch of links to all the pages:
+It is possible to get a list of all the pages on the site via the `{{#ascending}}` array. For example, this renders a bunch of links to all the pages:
- {{ascending}} <a href="{{link}}">{{title}}</a> {{/ascending}}
+ {{#ascending}} <a href="{{link}}">{{title}}</a> {{/ascending}}
-The pages above are listed in an ascending lexicographic order. To get them in reverse use `{{descending}}`. If you have a list of blog posts which you would like to list in reverse chronological order, you can add an additional prefix used for sorting to the file name, e.g. `20101010|First post!.md` and use descending order to display a list of posts in reverse chronological order. Everything up to and including the `|` separator is used for sorting, but ignored when constructing page titles.
+The pages above are listed in an ascending lexicographic order. To get them in reverse use `{{#descending}}`. If you have a list of blog posts which you would like to list in reverse chronological order, you can add an additional prefix used for sorting to the file name, e.g. `20101010|First post!.md` and use descending order to display a list of posts in reverse chronological order. Everything up to and including the `|` separator is used for sorting, but ignored when constructing page titles.
#### Custom Error Pages

0 comments on commit c1d9b4c

Please sign in to comment.