Vincent Prouillet
5082e0f15a
Render all relevant parent sections on rebuild
2019-01-30 09:15:46 +01:00
Vincent Prouillet
1c7729cac6
Default lang to config.default_language
2019-01-29 19:20:11 +01:00
Peng Guanwen
0b897ce7c7
Replace trim_{left, right} with trim_{start, end}
...
trim_{start, end} is introduced in rust 1.30.0 and
trim_{left, right} is deprecated since 1.33.0.
2019-01-29 16:30:54 +08:00
Vincent Prouillet
9398ab789c
Clone-less toc making
2019-01-28 00:34:18 +01:00
Vincent Prouillet
21d67235ae
Arc-ify Library
2019-01-27 18:57:07 +01:00
Vincent Prouillet
d1154d236f
Comment out failing test while its getting fixed in Tera
2019-01-26 11:46:54 +01:00
Vincent Prouillet
7c260eb5b2
Fix multilingual tests
2019-01-25 16:18:48 +01:00
Vincent Prouillet
1e2dd9ce03
Update tera to v1 alpha
2019-01-23 19:20:43 +01:00
Vincent Prouillet
464e384760
Merge pull request #581 from peng1999/event-refined
...
Footnote is now supported in headers
2019-01-22 17:24:33 +01:00
Vincent Prouillet
e119b68533
Remove earlier/later/lighter/heavier from pages when rendering sections
2019-01-21 17:55:05 +01:00
Nicolas Pochet
b65979fac7
Render the theme template files if present
...
* Change the behavior of the template rendering:
* Check if the template bare name is present
* Check if the template is part of a theme
* Fallback to defaults
* Change the behavior of the shortcode rendering:
* Call the template rendering function
* Prepend `__zola_builtins/` to most of the default elements in `ZOLA_TERA`
* Add a test to verify the presence and content of a `404.html` page
from a theme's template
2019-01-19 18:06:51 +01:00
Peng Guanwen
5ab3466e2b
Doc improvements
2019-01-18 22:50:35 +08:00
Vincent Prouillet
1b4cfd49d0
More early tera fns and mention limitation of shortcodes in docs
2019-01-17 18:29:18 +01:00
Vincent Prouillet
83472a53d7
Register load_data early
...
Closes #582
2019-01-17 18:18:03 +01:00
Vincent Prouillet
5caf24f06c
Remove error-chain
...
Closes #576
2019-01-17 14:31:47 +01:00
Vincent Prouillet
69fb399726
Add failing shortcode body split test
2019-01-17 14:31:47 +01:00
Peng Guanwen
1dbd8874c0
derive Debug for HeaderIndex
2019-01-16 17:09:23 +08:00
Peng Guanwen
80786a2fbb
Revert accidentally change
2019-01-12 17:25:01 +08:00
Peng Guanwen
c027cd97d6
Footnote is now supported in headers
...
This fixes #569 .
`markdown_to_html` is heavily refactored, header-related things is
handled in a second pass.
2019-01-12 16:55:52 +08:00
Vincent Prouillet
538866487b
Add multilingual taxonomies
2019-01-07 21:03:34 +01:00
toidiu
09f691fa47
add id to continue reading p tag ( #577 )
...
* add id to continue reading p tag
2019-01-07 19:20:19 +01:00
Peng Guanwen
7130616f63
Minor fixes
2019-01-06 19:04:53 +08:00
Peng Guanwen
972aab1ac4
Add emphasis, strong and code support in header
2019-01-05 23:50:30 +08:00
Peng Guanwen
774514f4d4
refactor markdown_to_html
...
this commit contains two refactors:
- extract custom link transformations into a function.
- separate some trivial markup generation.
2019-01-05 23:50:30 +08:00
Vincent Prouillet
2e126b3a08
Fix race condition with language folder creation
2019-01-04 21:57:27 +01:00
Vincent Prouillet
f45293ab25
cargo fmt
2019-01-04 20:34:28 +01:00
Vincent Prouillet
19075191ff
Add translations to page/sections
2019-01-04 20:31:31 +01:00
Vincent Prouillet
3d22b4f1f9
Generate per language RSS feed
2019-01-02 22:11:34 +01:00
Vincent Prouillet
832360f9b1
Update deps + rustfmt
2019-01-02 20:41:29 +01:00
Vincent Prouillet
fdb6a2864c
Merge pull request #566 from vojtechkral/imgproc
...
Implement suggestions in #546
2018-12-30 12:44:48 +01:00
Vincent Prouillet
a12e9512bc
fmt/clippy
2018-12-29 11:17:43 +01:00
Vincent Prouillet
34708d6592
Handle editing language index colocated
2018-12-28 18:18:12 +01:00
Vincent Prouillet
7313b41f4d
Start adding some tests for building multilingual sites
2018-12-28 17:30:47 +01:00
Vincent Prouillet
779511ae43
Pass down lang and start docs
2018-12-28 13:24:49 +01:00
Vincent Prouillet
1d06324a65
Load multi-languages pages/sections
2018-12-28 12:15:17 +01:00
Vincent Prouillet
b0f6963e4c
Use lang code in permalinks
2018-12-28 10:42:26 +01:00
Vojtech Kral
9bd6a559c1
imageproc: Use Lanczos3 filter instead of Gaussian
2018-12-28 01:41:22 +01:00
Vojtech Kral
6e84eec32b
imageproc: Add the format
option, support for PNG thumbnails
...
Fix #546
2018-12-28 01:41:22 +01:00
Vincent Prouillet
e50d3daad1
Get language from filename
2018-12-27 13:26:53 +01:00
Vincent Prouillet
f0cafcd1d6
Add languages to config
2018-12-27 10:53:17 +01:00
Vincent Prouillet
c0bbe16eac
cargo fmt + update
2018-12-10 18:21:08 +01:00
Anton Lazarev
885c7ded80
inject livereloader for 404 template
2018-12-07 20:47:01 -05:00
Anton Lazarev
7cff1d335c
add rendering for 404.html when running zola serve
2018-12-06 20:07:34 -05:00
Vincent Prouillet
814cec99e2
Allow RFC3339 datetimes in filenames
...
Closes #537
2018-11-30 22:21:00 +01:00
Vincent Prouillet
0cf8e8ca1c
Fix pagers not being in sitemap
...
Closes #521
2018-11-29 21:48:04 +01:00
Vincent Prouillet
b3004c69ef
Fix broken taxonomies pagination
...
Closes #533
2018-11-29 20:24:46 +01:00
Vincent Prouillet
4fa9d89ea8
Merge pull request #532 from sinkuu/redundant_clone
...
Remove redundant clone
2018-11-20 11:46:06 +01:00
Vincent Prouillet
9a99b40216
Add test for rebuild after deletion
2018-11-19 17:25:24 +01:00
Vincent Prouillet
a465d6a61e
Fix deleting while zola serve
2018-11-19 17:19:05 +01:00
Shotaro Yamada
692103bff4
Remove redundant clone
2018-11-19 23:08:34 +09:00