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
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
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
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
Vincent Prouillet
c0bbe16eac
cargo fmt + update
5 years ago
Vincent Prouillet
814cec99e2
Allow RFC3339 datetimes in filenames
Closes #537
5 years ago
Vincent Prouillet
a465d6a61e
Fix deleting while zola serve
5 years ago
Vincent Prouillet
20a05da475
Fix bug with pages starting with dates
5 years ago
Vincent Prouillet
2d324b3cee
Do not clone tpl name for pages
5 years ago
Vincent Prouillet
b7ce4e59fb
rustfmt
5 years ago
Vincent Prouillet
db4def63dc
Set date from filename
Fix #396
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
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
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
9461769bcc
Parse date only once for pages
5 years ago
Vincent Prouillet
69a9a352a0
Only compute reading analytics once...
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
Vincent Prouillet
e0291cec65
Add Swift, MiniZinc syntax and update the rest
Also fix tests
Close #367, #372
5 years ago
Nathan Ringo
9df5da4697
Fixes bug with extra syntaxes in non-root section, adds tests.
5 years ago
Vincent Prouillet
60a52fd2cc
Some intellij reformatting
5 years ago
Daniel Sockwell
c2437cc0eb
Remove `order` and add `heavier`/`later`
This commit removes the option to sort by order and also removes
`page.next` and `page.previous` variables. Instead, pages can be sorted
by two methods `date` and `weight`. The Tera `reverse` filter will
reverse either of those sorts, so the old `order` behavior can be
achieved by using the `reverse` filter with `weight`.
In place of the `previous`/`next` variables, this commit adds the
`page.earlier`/`page.later` variables (which are set when the page is
sorted by date) and the `page.heavier`/`page.lighter` variables (which
are set when the page is sorted by weight). These variables have the
advantage of not having confusing semantics when the `reverse` filter is
used.
5 years ago
Vincent Prouillet
1ae0702494
Custom taxonomies ( #330 )
5 years ago
Vincent Prouillet
d47ba4aff0
Rebasing + tweaks
5 years ago
Vojtech Kral
a89768dab0
Remove page.images
5 years ago
Vincent Prouillet
8e8cdfeb7f
Add year, month and day to page context with a date
6 years ago
Vojtech Kral
77bc526008
imageproc: Fix naming, cleanup
6 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
3e6054a9ac
tempdir -> tempfile
6 years ago