Igor Gnatenko
d43812dee6
chore: Update toml to 0.5 everywhere
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
5 years ago
Vincent Prouillet
df720a5baf
Update deps
5 years ago
Vincent Prouillet
0aee33f9c5
Add very copy/pasty impl of anchor checking
5 years ago
Vincent Prouillet
cb962f7a64
Add aliases to sections
5 years ago
Marcus Klaas de Vries
0d964204c3
Check command global ( #683 )
* Add check subcommand
* Add some brief documentation for the check subcommand
* Start working on parallel link checks
* Check all external links in Site
* Return *all* dead links in site
5 years ago
Vincent Prouillet
55a166ac9e
Fix dodgy test
5 years ago
Vincent Prouillet
52f6072ea6
Use file path rather than page path for assets
Closes #674
5 years ago
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
5082e0f15a
Render all relevant parent sections on rebuild
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
538866487b
Add multilingual taxonomies
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
0cf8e8ca1c
Fix pagers not being in sitemap
Closes #521
6 years ago
Vincent Prouillet
b3004c69ef
Fix broken taxonomies pagination
Closes #533
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
afc30543cc
Handle file/dir renaming
Closes #385
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
56af4ca7f9
Add page_template to sections
To override all child pages
Closes #397
Tests from PR #434
6 years ago
Vincent Prouillet
a3b0f1e103
Add transparent sections
Closes #413
Closes #408
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
dc94aa219b
Do not paginate drafts
Fix #495
6 years ago
Vincent Prouillet
1811c18b4a
No need for clone
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