Vincent Prouillet
396d237673
Use Tera render_with_borrowed
2018-10-05 15:03:22 +02:00
Vincent Prouillet
9461769bcc
Parse date only once for pages
2018-09-21 09:40:52 +02:00
Vincent Prouillet
60a52fd2cc
Some intellij reformatting
2018-07-31 15:30:49 +02:00
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
Vincent Prouillet
1ae0702494
Custom taxonomies ( #330 )
2018-07-16 10:54:05 +02:00
Vincent Prouillet
ef543b3d2b
Make co-located asset link permalinks
2018-06-25 18:00:05 +02:00
Vincent Prouillet
85e13483eb
Use the new shortcode parser
2018-06-25 18:00:05 +02:00
Vincent Prouillet
7f48b9bee8
Update more deps and appveyor config
2018-06-22 13:39:29 +02:00
Vincent Prouillet
73ddbf7152
Write some docs
2018-03-21 16:18:24 +01:00
Vincent Prouillet
ddf8970ad8
[WIP] Search
2018-03-20 18:43:30 +01:00
Vincent Prouillet
f1abbd0860
Move copy utils to utils crate
2018-03-20 18:43:17 +01:00
Vincent Prouillet
bcf42a0c10
The wonders of serde default, take 2
2018-03-20 18:42:42 +01:00
Vincent Prouillet
1e25117887
Fix date serializing in extra section of pages
...
Closes #238
2018-03-01 14:49:34 +01:00
Vincent Prouillet
45fc1ee761
Release 0.3.1
2018-02-15 10:41:49 +01:00
Vincent Prouillet
11bfd7b2be
Tera 0.11 has been released
2018-01-22 15:10:03 +01:00
Vincent Prouillet
f37992e03a
Do not unwrap on serve
2018-01-22 13:46:36 +01:00
Vincent Prouillet
1d1ff74d88
Use TOML dates in front-matter rather than strings
...
Closes #210
2018-01-14 18:04:01 +01:00
Vincent Prouillet
bfdc93f948
Cargo update
2017-12-29 19:51:22 +01:00
Vincent Prouillet
cfefb45913
Update to Tera 0.11 beta
2017-11-26 10:07:34 +01:00
Vincent Prouillet
c8f07d8242
Update deps
2017-10-31 17:02:34 +01:00
Vincent Prouillet
f26b9d53bd
url -> path in page front-matter
2017-10-04 09:35:37 +09:00
Vincent Prouillet
57b87aa50a
Add more docs pages
2017-10-01 12:51:43 +09:00
Vincent Prouillet
dee1dbe667
Working on site
...
And some tweaks as I write the docs
2017-09-29 15:37:58 +09:00
Vincent Prouillet
b248b03045
Allow sorting subsections by weight
2017-09-26 17:04:18 +09:00
Vincent Prouillet
2d97786e67
Add back drafts
2017-09-25 18:55:43 +09:00
Vincent Prouillet
521b9755f8
Remove local crates Cargo.lock
2017-08-23 19:22:21 +09:00
Vincent Prouillet
2beb0621ca
Add a redirect_to parameter to section front matter
...
Close #103
2017-07-25 16:58:00 +09:00
Vincent Prouillet
37af36186a
Improve sorting speed
2017-07-04 18:33:58 +09:00
Vincent Prouillet
c3b525745e
Convert project to a workspace
2017-07-01 16:47:41 +09:00