Sam Ford
b63c563622
Format code using cargo fmt ( #896 )
4 years ago
Sam Ford
e804f907b2
Use Rust 2018 edition ( #885 )
4 years ago
Sam Ford
0a0b6a3ad4
Fix Clippy warnings ( #886 )
This addresses the following Clippy warnings:
* clippy::option_and_then_some
* clippy::useless_format
4 years ago
Stan Rozenraukh
a89b30073c
Section extra -> SitemapEntry ( #850 )
5 years ago
Vincent Prouillet
b396a1bc20
Add --drafts flag + rustfmt
5 years ago
Vincent Prouillet
cb962f7a64
Add aliases to sections
5 years ago
Vincent Prouillet
9bc675f2a7
Fix colocated dates + rustfmt
Closes #607
5 years ago
Vincent Prouillet
5caf24f06c
Remove error-chain
Closes #576
5 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
3c8505ffb4
Fix 1.28 build for real
6 years ago
Vincent Prouillet
988811a4bd
Fix build for 1.28
6 years ago
Vincent Prouillet
cb3c42078a
Fix load_toml date handling and fix bug in date conversion
6 years ago
Vincent Prouillet
b7ce4e59fb
rustfmt
6 years ago
Vincent Prouillet
f84ae7c93b
Rename all occurrences of gutenberg to zola in code
6 years ago
Vincent Prouillet
9461769bcc
Parse date only once for pages
6 years ago
Vincent Prouillet
60a52fd2cc
Some intellij reformatting
6 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.
6 years ago
Vincent Prouillet
1ae0702494
Custom taxonomies ( #330 )
6 years ago
Vincent Prouillet
85e13483eb
Use the new shortcode parser
6 years ago
Vincent Prouillet
73ddbf7152
Write some docs
6 years ago
Vincent Prouillet
ddf8970ad8
[WIP] Search
6 years ago
Vincent Prouillet
f1abbd0860
Move copy utils to utils crate
6 years ago
Vincent Prouillet
bcf42a0c10
The wonders of serde default, take 2
6 years ago
Vincent Prouillet
1e25117887
Fix date serializing in extra section of pages
Closes #238
6 years ago
Vincent Prouillet
f37992e03a
Do not unwrap on serve
6 years ago
Vincent Prouillet
1d1ff74d88
Use TOML dates in front-matter rather than strings
Closes #210
6 years ago
Vincent Prouillet
c8f07d8242
Update deps
7 years ago
Vincent Prouillet
f26b9d53bd
url -> path in page front-matter
7 years ago
Vincent Prouillet
57b87aa50a
Add more docs pages
7 years ago
Vincent Prouillet
dee1dbe667
Working on site
And some tweaks as I write the docs
7 years ago
Vincent Prouillet
b248b03045
Allow sorting subsections by weight
7 years ago
Vincent Prouillet
2d97786e67
Add back drafts
7 years ago
Vincent Prouillet
2beb0621ca
Add a redirect_to parameter to section front matter
Close #103
7 years ago
Vincent Prouillet
37af36186a
Improve sorting speed
7 years ago
Vincent Prouillet
c3b525745e
Convert project to a workspace
7 years ago