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
Vincent Prouillet
85e13483eb
Use the new shortcode parser
6 years ago
Vincent Prouillet
9c0dd95bdb
Fix theme shortcode not being useable
Closes #272
6 years ago
Vincent Prouillet
bcf42a0c10
The wonders of serde default, take 2
6 years ago
Vincent Prouillet
b3b2527c5d
TIL about serde default
6 years ago
Vincent Prouillet
791fbe685b
Add page and section components
6 years ago
Vincent Prouillet
dee1dbe667
Working on site
And some tweaks as I write the docs
6 years ago
Vincent Prouillet
f11cc6abb4
Serialize page & section paths is, without leading slash
6 years ago
Vincent Prouillet
c77cc9b170
First draft of theme support
6 years ago
Vincent Prouillet
3cb4641f1f
Remove sections for index page and clean up pager
6 years ago
Vincent Prouillet
c3b525745e
Convert project to a workspace
6 years ago
Vincent Prouillet
c3986b701a
Add table of contents support
7 years ago
Vincent Prouillet
2d949249c3
Add trailing slash to paths and permalinks. Fix #85
7 years ago
Vincent Prouillet
dbe4a1d517
Move insert_anchor to section and allow left/right
7 years ago
Vincent Prouillet
26159609d2
Add a rendering module
7 years ago
Vincent Prouillet
be784bbaa3
Refactor taxonomies
Fix #66
7 years ago
Vincent Prouillet
056bf55881
Add a FileInfo struct to hold some common data about the files
7 years ago