This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
zola
Watch
2
Star
0
Fork
You've already forked zola
0
mirror of
https://github.com/getzola/zola
synced
2024-12-14 06:12:27 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
e2c3bb2ce2
zola
/
test_site
/
content
/
rebuild
/
first.md
8 lines
65 B
Markdown
Raw
Normal View
History
Unescape
Escape
Move test_site and turn rebuild.rs into a component
2018-01-29 17:40:12 +00:00
+++
title = "first"
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-28 02:20:20 +00:00
weight = 10
Move test_site and turn rebuild.rs into a component
2018-01-29 17:40:12 +00:00
date = 2017-01-01
+++
# A title
Reference in a new issue
Copy permalink