Vincent Prouillet
3ba6707b90
Update Tera
2018-10-31 11:29:50 +01:00
Vincent Prouillet
d524482ac1
Cargo update & some doc tweak
2018-10-30 15:07:23 +01:00
Jake Howard
aad12d829f
Remote data ( #494 )
2018-10-29 20:13:09 +01:00
Vincent Prouillet
db4def63dc
Set date from filename
...
Fix #396
2018-10-25 16:22:02 +02:00
Vincent Prouillet
f84ae7c93b
Rename all occurrences of gutenberg to zola in code
2018-10-18 22:50:06 +02:00
Vincent Prouillet
a86a6ae8c4
Update changelog
2018-10-18 17:48:20 +02:00
Luke Frisken
1baa7750f3
CSV and TOML loading global functions ( #379 )
...
Local CSV/TOML/JSON loading Tera function
2018-10-18 17:32:30 +02:00
Vincent Prouillet
652196969c
templates folder is now optional for serve
...
Fix #445
2018-10-11 20:52:42 +02:00
Vincent Prouillet
9f88b0776a
Cargo update
2018-10-09 19:41:56 +02:00
Vincent Prouillet
0b0b4a86db
Update pest for shortcode parser
2018-10-09 15:24:56 +02:00
Vincent Prouillet
ee3f4dc511
Update to syntect 3
2018-10-09 14:33:43 +02:00
Vincent Prouillet
cdcebaea26
Cleanup of slotmap impl
...
Fix #205
2018-10-05 19:46:04 +02:00
Vincent Prouillet
396d237673
Use Tera render_with_borrowed
2018-10-05 15:03:22 +02:00
Vincent Prouillet
10aba20fe5
Slotmap refactor
2018-10-03 16:29:29 +02:00
Vincent Prouillet
f5c88540ed
Update reqwest and image
2018-09-30 19:17:51 +02:00
Greizgh
b8233af2c4
Allow to disable colors through env vars
...
- unless forced, only use colors in tty
- support CLICOLOR and NO_COLOR vars
- switch to termcolor crate to handle output coloring
2018-09-24 19:19:34 +02:00
Vincent Prouillet
9461769bcc
Parse date only once for pages
2018-09-21 09:40:52 +02:00
Vincent Prouillet
5876a67100
Remove useless benches and add more useful ones
2018-09-18 16:01:44 +02:00
Vincent Prouillet
e9d59239d6
Update deps
2018-09-12 16:04:24 +02:00
Vincent Prouillet
38b30eb144
Update deps and fix deprecrations
2018-09-09 19:43:14 +02:00
Vincent Prouillet
a6adbabb3d
Fix benches
2018-09-03 19:05:24 +02:00
Vincent Prouillet
a60075fd54
Update deps
2018-09-03 18:02:01 +02:00
Vincent Prouillet
cc46c81bbd
Prepare 0.4.1
2018-08-06 19:40:59 +02:00
Vincent Prouillet
abd9c26d81
Update deps for notify
2018-08-06 09:20:54 +02:00
Vincent Prouillet
a4e47f9435
Update deps
2018-08-05 15:03:12 +02:00
Vincent Prouillet
d9bc70c6fa
Last minute cargo update
2018-08-04 00:21:16 +02:00
Vincent Prouillet
f2d1e25c3d
cargo update
2018-08-02 17:44:08 +02:00
Vincent Prouillet
648b700667
One more cargo update
2018-08-01 18:22:12 +02:00
Vincent Prouillet
8e3e3a52f1
Updated deps
2018-08-01 10:33:20 +02:00
Vincent Prouillet
60a52fd2cc
Some intellij reformatting
2018-07-31 15:30:49 +02:00
Vincent Prouillet
601763307d
Update deps
2018-07-23 15:44:40 +02:00
Vincent Prouillet
a958f96955
Update actix
2018-07-22 12:14:16 +02:00
Vincent Prouillet
d0066cb497
Update appveyor min version
2018-07-17 12:37:15 +02:00
Vincent Prouillet
3e48ff24b5
Add an external link checker
...
Close #115
2018-07-16 21:15:50 +02:00
Vincent Prouillet
7bf36642d9
Update deps
2018-07-16 11:03:45 +02:00
Vincent Prouillet
1ae0702494
Custom taxonomies ( #330 )
2018-07-16 10:54:05 +02:00
Vincent Prouillet
f7454708a7
Disable actix-web features for real
2018-07-12 23:23:14 +02:00
Vincent Prouillet
735bb38bd7
Update docs for 404 and enable preserve-order of tera
2018-07-05 17:43:48 +02:00
Vincent Prouillet
d47ba4aff0
Rebasing + tweaks
2018-06-25 19:13:21 +02:00
Vojtech Kral
3e4aa82ecc
imageproc: Use DefaultHasher from stdlib instead of twox-hash
2018-06-25 18:09:45 +02:00
Vojtech Kral
a89768dab0
Remove page.images
2018-06-25 18:09:03 +02:00
Vincent Prouillet
42939b9a66
Fix error and cargo update
2018-06-25 18:08:20 +02:00
Owen Nelson
908f16855a
Fixes #279 switch from iron to actix-web.
...
This implementation seems to match the behavior of the previous iron
server.
Static files are rendered as-is, and when a directory is requested, we
attempt to render a `index.html` found inside, or 404 if it's not
present.
The actix docs mention using channels to send a message to the server to
shut it down gracefully while running in another thread (as we're doing
here), but it seems like there would have to be some reorganization in
order to manage this effectively, perhaps holding the channel sender inside
`main.rs` so we can push a message through to the server when the call
to `cmd::serve()` finally returns.
For the time being, I left things without any careful attempts to
cleanup the server thread. This more or less matches the old iron
implementation as far as I can see.
The static file handling in actix is _just_ a little off from what we'd
want.
I left some comments in the source regarding why we can't just use their hook
for directory index redirection.
2018-06-25 18:07:41 +02:00
Vincent Prouillet
8e8cdfeb7f
Add year, month and day to page context with a date
2018-06-25 18:06:25 +02:00
Vojtech Kral
77bc526008
imageproc: Fix naming, cleanup
2018-06-25 18:05:49 +02:00
Vojtech Kral
6662014e55
Add image resizing support #225
2018-06-25 18:05:04 +02:00
Vincent Prouillet
d334b1cf46
More shortcode docs update
2018-06-25 18:03:20 +02:00
Vincent Prouillet
b120754862
Update shortcode parsing and docs
2018-06-25 18:02:21 +02:00
Vincent Prouillet
85e13483eb
Use the new shortcode parser
2018-06-25 18:00:05 +02:00
Vincent Prouillet
3e6054a9ac
tempdir -> tempfile
2018-06-25 17:57:33 +02:00