Sam Ford
e804f907b2
Use Rust 2018 edition ( #885 )
4 years ago
Vincent Prouillet
5532f62c2d
Check for paths collisions
Closes #366
4 years ago
Bob
4aa2ba84fc
Let toc is visable through Page & Section variables in templates ( #818 )
* Let toc is visable through Page & Section variables in templates
* Removed the current toc variable from page & section
4 years ago
Vincent Prouillet
5844047435
Update slotmap
4 years ago
Marcus Klaas de Vries
4fd5d3f348
Bump pulldown_cmark to version 0.6.0 ( #797 )
* Bump pulldown_cmark to version 0.6.0
* Rename headers to headings
4 years ago
Bob
9db9fc8fb2
Fix the issue of generating the search index for multiple language ( #794 )
* fix the issue of generating the search index for multiple language
* updat docs for generating the search index for multiple language
* fix failed tests
* add tests for the search index of multiple language
4 years ago
Vincent Prouillet
8942c15428
Add to changelog + rustfmt
4 years ago
Katsutoshi Horie
0238e34047
Add trailing slash to multilingual section path ( #772 )
4 years ago
Vincent Prouillet
0aee33f9c5
Add very copy/pasty impl of anchor checking
4 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
4 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
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
Vincent Prouillet
1e2dd9ce03
Update tera to v1 alpha
5 years ago
Vincent Prouillet
5caf24f06c
Remove error-chain
Closes #576
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
b0f6963e4c
Use lang code in permalinks
5 years ago
Vincent Prouillet
e50d3daad1
Get language from filename
5 years ago
Shotaro Yamada
692103bff4
Remove redundant clone
5 years ago
Vincent Prouillet
7af314c61e
Update deps + fmt
5 years ago
Vincent Prouillet
9c2eeaf1f7
Fewer string cloning for tpl names
5 years ago
Vincent Prouillet
b7ce4e59fb
rustfmt
5 years ago
Vincent Prouillet
0f6c0736cb
Serialize page/section assets only once
5 years ago
Vincent Prouillet
4e3d231ca9
Small refactor for serialized page/sections
5 years ago
Vincent Prouillet
83b04a561c
Expose relative path of pages & sections
Closes #485
5 years ago
Vincent Prouillet
86c418372f
Add metadata_only to get_section
5 years ago
Vincent Prouillet
957c6bed9d
Have a list of ancestors instead of only parent section
5 years ago
Vincent Prouillet
f14dbcbdf4
section.subsections is now an array of paths
Close #446
Close #260
Close #478
Close #284
Close #480
5 years ago
Vincent Prouillet
ee3f4dc511
Update to syntect 3
5 years ago
Vincent Prouillet
6843ec5c9c
Rebuild more things now that it is more performant to do so
Fix #122
5 years ago
Vincent Prouillet
cdcebaea26
Cleanup of slotmap impl
Fix #205
5 years ago
Vincent Prouillet
396d237673
Use Tera render_with_borrowed
5 years ago
Vincent Prouillet
10aba20fe5
Slotmap refactor
5 years ago
Christian Friedrich Coors
85529186e4
Fix some clippy warnings
5 years ago
Vincent Prouillet
69a9a352a0
Only compute reading analytics once...
5 years ago
Vincent Prouillet
6903975202
Do not copy pages of sections when rendering taxonomies
5 years ago
Vincent Prouillet
38b30eb144
Update deps and fix deprecrations
5 years ago
Thomas Hurst
c069bfdafa
Rework summary handling.
Push summary handling into Markdown parsing, identifying the presence
of one by giving its length in the rendered markup.
Hopefully a better fix for #376 .
5 years ago
Nathan Ringo
9df5da4697
Fixes bug with extra syntaxes in non-root section, adds tests.
5 years ago
cmal
31479ff23b
Remove condition that's always true (optimization)
5 years ago
cmal
3b9c8c71b5
Revert "Start implementing _index folder for section content/assets"
This reverts commit c7156a84f0
.
5 years ago
cmal
c7156a84f0
Start implementing _index folder for section content/assets
5 years ago
cmal
8473dff23d
Implement assets colocation in section
5 years ago
Vincent Prouillet
60a52fd2cc
Some intellij reformatting
5 years ago
Vincent Prouillet
d47ba4aff0
Rebasing + tweaks
5 years ago
Vojtech Kral
6662014e55
Add image resizing support #225
6 years ago
Vincent Prouillet
860d1f4d1f
Indicate which file is failing to render on error
6 years ago