Vincent Prouillet
|
eccb1e9986
|
Strip base_path from page/section paths
To ensure we will get the right `content`
directory.
Fix #629
|
5 years ago |
Vincent Prouillet
|
84f10f6b69
|
Use platform separator for shortcodes paths
|
5 years ago |
Vincent Prouillet
|
705a30aa8d
|
Move toc to be a rendering page/section variable level
|
5 years ago |
Vincent Prouillet
|
9bc675f2a7
|
Fix colocated dates + rustfmt
Closes #607
|
5 years ago |
Vincent Prouillet
|
260c413de4
|
Fix double trailing slash for section permalinks
Only happens for sections with lang != default
|
5 years ago |
Vincent Prouillet
|
1c7729cac6
|
Default lang to config.default_language
|
5 years ago |
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.
|
5 years ago |
Vincent Prouillet
|
1e2dd9ce03
|
Update tera to v1 alpha
|
5 years ago |
Vincent Prouillet
|
e119b68533
|
Remove earlier/later/lighter/heavier from pages when rendering sections
|
5 years ago |
Vincent Prouillet
|
5caf24f06c
|
Remove error-chain
Closes #576
|
5 years ago |
Vincent Prouillet
|
f45293ab25
|
cargo fmt
|
5 years ago |
Vincent Prouillet
|
19075191ff
|
Add translations to page/sections
|
5 years ago |
Vincent Prouillet
|
3d22b4f1f9
|
Generate per language RSS feed
|
5 years ago |
Vincent Prouillet
|
a12e9512bc
|
fmt/clippy
|
5 years ago |
Vincent Prouillet
|
779511ae43
|
Pass down lang and start docs
|
5 years ago |
Vincent Prouillet
|
1d06324a65
|
Load multi-languages pages/sections
|
5 years ago |
Vincent Prouillet
|
b0f6963e4c
|
Use lang code in permalinks
|
5 years ago |
Vincent Prouillet
|
e50d3daad1
|
Get language from filename
|
5 years ago |
Vincent Prouillet
|
c0bbe16eac
|
cargo fmt + update
|
6 years ago |
Vincent Prouillet
|
814cec99e2
|
Allow RFC3339 datetimes in filenames
Closes #537
|
6 years ago |
Vincent Prouillet
|
a465d6a61e
|
Fix deleting while zola serve
|
6 years ago |
Shotaro Yamada
|
692103bff4
|
Remove redundant clone
|
6 years ago |
Vincent Prouillet
|
7af314c61e
|
Update deps + fmt
|
6 years ago |
Vincent Prouillet
|
20a05da475
|
Fix bug with pages starting with dates
|
6 years ago |
Vincent Prouillet
|
2d324b3cee
|
Do not clone tpl name for pages
|
6 years ago |
Vincent Prouillet
|
9c2eeaf1f7
|
Fewer string cloning for tpl names
|
6 years ago |
Vincent Prouillet
|
b7ce4e59fb
|
rustfmt
|
6 years ago |
Vincent Prouillet
|
db4def63dc
|
Set date from filename
Fix #396
|
6 years ago |
Vincent Prouillet
|
0f6c0736cb
|
Serialize page/section assets only once
|
6 years ago |
Vincent Prouillet
|
4e3d231ca9
|
Small refactor for serialized page/sections
|
6 years ago |
Vincent Prouillet
|
83b04a561c
|
Expose relative path of pages & sections
Closes #485
|
6 years ago |
Vincent Prouillet
|
86c418372f
|
Add metadata_only to get_section
|
6 years ago |
Vincent Prouillet
|
957c6bed9d
|
Have a list of ancestors instead of only parent section
|
6 years ago |
Vincent Prouillet
|
f14dbcbdf4
|
section.subsections is now an array of paths
Close #446
Close #260
Close #478
Close #284
Close #480
|
6 years ago |
Vincent Prouillet
|
ee3f4dc511
|
Update to syntect 3
|
6 years ago |
Vincent Prouillet
|
6843ec5c9c
|
Rebuild more things now that it is more performant to do so
Fix #122
|
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
|
10aba20fe5
|
Slotmap refactor
|
6 years ago |