Vincent Prouillet
ade442a487
clippy + fmt + fix toml dates in extra arrays
...
Closes #1048
2020-06-18 21:12:46 +02:00
Hannu Hartikainen
c4154bb8c4
Don't panic on bad date strings ( #1051 )
...
* Don't panic on bad date strings
Instead, show a helpful error message explaining only RFC3339 is
supported.
Fixes #993 .
* Try to parse the full range of TOML date formats
2020-06-09 22:39:39 +02:00
Chris Morgan
eb7751955a
WIP: add an 'updated' field to pages
...
Also change a few other things to use it, as noted in CHANGELOG.md.
TODO:
- Write a couple of tests: updated field, last_updated template variable
One slight open questions: should `updated` default to the value of
`date` rather than to None? Then pages with `date` could safely assume
`updated`.
2020-04-14 17:29:46 +05:30
Sam Ford
b63c563622
Format code using cargo fmt ( #896 )
2020-02-02 17:48:43 -08:00
Sam Ford
e804f907b2
Use Rust 2018 edition ( #885 )
2020-02-02 17:48:43 -08:00
Sam Ford
0a0b6a3ad4
Fix Clippy warnings ( #886 )
...
This addresses the following Clippy warnings:
* clippy::option_and_then_some
* clippy::useless_format
2020-02-02 17:48:43 -08:00
Vincent Prouillet
b396a1bc20
Add --drafts flag + rustfmt
2019-08-24 22:23:08 +02:00
Vincent Prouillet
3c8505ffb4
Fix 1.28 build for real
2018-11-05 22:22:15 +01:00
Vincent Prouillet
988811a4bd
Fix build for 1.28
2018-11-02 08:30:57 +01:00
Vincent Prouillet
cb3c42078a
Fix load_toml date handling and fix bug in date conversion
2018-11-01 10:36:19 +01:00
Vincent Prouillet
b7ce4e59fb
rustfmt
2018-10-31 08:18:57 +01:00
Vincent Prouillet
f84ae7c93b
Rename all occurrences of gutenberg to zola in code
2018-10-18 22:50:06 +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
Vincent Prouillet
1ae0702494
Custom taxonomies ( #330 )
2018-07-16 10:54:05 +02:00
Vincent Prouillet
85e13483eb
Use the new shortcode parser
2018-06-25 18:00:05 +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
1e25117887
Fix date serializing in extra section of pages
...
Closes #238
2018-03-01 14:49:34 +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
f26b9d53bd
url -> path in page front-matter
2017-10-04 09:35:37 +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
2d97786e67
Add back drafts
2017-09-25 18:55:43 +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