Vincent Prouillet
988811a4bd
Fix build for 1.28
6 years ago
Vincent Prouillet
cb3c42078a
Fix load_toml date handling and fix bug in date conversion
6 years ago
Vincent Prouillet
b7ce4e59fb
rustfmt
6 years ago
Vincent Prouillet
f84ae7c93b
Rename all occurrences of gutenberg to zola in code
6 years ago
Vincent Prouillet
cdcebaea26
Cleanup of slotmap impl
Fix #205
6 years ago
Vincent Prouillet
396d237673
Use Tera render_with_borrowed
6 years ago
Vincent Prouillet
9461769bcc
Parse date only once for pages
6 years ago
Vincent Prouillet
60a52fd2cc
Some intellij reformatting
6 years ago
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.
6 years ago
Vincent Prouillet
1ae0702494
Custom taxonomies ( #330 )
6 years ago
Vincent Prouillet
ef543b3d2b
Make co-located asset link permalinks
6 years ago
Vincent Prouillet
85e13483eb
Use the new shortcode parser
6 years ago
Vincent Prouillet
7f48b9bee8
Update more deps and appveyor config
6 years ago
Vincent Prouillet
73ddbf7152
Write some docs
6 years ago
Vincent Prouillet
ddf8970ad8
[WIP] Search
6 years ago
Vincent Prouillet
f1abbd0860
Move copy utils to utils crate
6 years ago
Vincent Prouillet
bcf42a0c10
The wonders of serde default, take 2
6 years ago
Vincent Prouillet
1e25117887
Fix date serializing in extra section of pages
Closes #238
6 years ago
Vincent Prouillet
45fc1ee761
Release 0.3.1
6 years ago
Vincent Prouillet
11bfd7b2be
Tera 0.11 has been released
6 years ago
Vincent Prouillet
f37992e03a
Do not unwrap on serve
6 years ago
Vincent Prouillet
1d1ff74d88
Use TOML dates in front-matter rather than strings
Closes #210
6 years ago
Vincent Prouillet
bfdc93f948
Cargo update
7 years ago
Vincent Prouillet
cfefb45913
Update to Tera 0.11 beta
7 years ago
Vincent Prouillet
c8f07d8242
Update deps
7 years ago
Vincent Prouillet
f26b9d53bd
url -> path in page front-matter
7 years ago
Vincent Prouillet
57b87aa50a
Add more docs pages
7 years ago
Vincent Prouillet
dee1dbe667
Working on site
And some tweaks as I write the docs
7 years ago
Vincent Prouillet
b248b03045
Allow sorting subsections by weight
7 years ago
Vincent Prouillet
2d97786e67
Add back drafts
7 years ago
Vincent Prouillet
521b9755f8
Remove local crates Cargo.lock
7 years ago
Vincent Prouillet
2beb0621ca
Add a redirect_to parameter to section front matter
Close #103
7 years ago
Vincent Prouillet
37af36186a
Improve sorting speed
7 years ago
Vincent Prouillet
c3b525745e
Convert project to a workspace
7 years ago