zola/test_site/content/posts
Daniel Sockwell c2437cc0eb Remove order and add heavier/later
This commit removes the option to sort by order and also removes
`page.next` and `page.previous` variables.  Instead, pages can be sorted
by two methods `date` and `weight`.  The Tera `reverse` filter will
reverse either of those sorts, so the old `order` behavior can be
achieved by using the `reverse` filter with `weight`.

In place of the `previous`/`next` variables, this commit adds the
`page.earlier`/`page.later` variables (which are set when the page is
sorted by date) and the `page.heavier`/`page.lighter` variables (which
are set when the page is sorted by weight).  These variables have the
advantage of not having confusing semantics when the `reverse` filter is
used.
2018-07-27 23:00:28 -04:00
..
no-section Move test_site and turn rebuild.rs into a component 2018-01-29 18:40:12 +01:00
tutorials Remove order and add heavier/later 2018-07-27 23:00:28 -04:00
with-assets Stop trying to load every file as markdown on serve 2018-02-22 16:49:37 +01:00
_index.md Move test_site and turn rebuild.rs into a component 2018-01-29 18:40:12 +01:00
draft.md Fix internal links to content dir not working 2018-03-29 14:55:26 +02:00
fixed-slug.md Add html-alias test 2018-06-25 18:02:07 +02:00
fixed-url.md Move test_site and turn rebuild.rs into a component 2018-01-29 18:40:12 +01:00
python.md Some more bits about continue_reading anchor 2018-03-28 17:01:14 +02:00
simple.md Move test_site and turn rebuild.rs into a component 2018-01-29 18:40:12 +01:00