Justin Tennant
d52a071c05
Implement Default for LanguageOptions ( #2145 )
...
Closes #2137
2023-03-19 20:36:25 +01:00
Vincent Prouillet
a4a85fe202
Fix cachebusting not working with binary files
...
Closes #2142
2023-03-19 20:36:25 +01:00
Icy Defiance
0ba2707316
Use page.summary if available ( #2141 )
2023-03-19 20:36:25 +01:00
Vincent Prouillet
b7fec4d31a
Remove dummy test
2023-03-19 20:36:25 +01:00
Vincent Prouillet
deaaa16017
Fix tests
2023-03-19 20:36:25 +01:00
Vincent Prouillet
f6c0d52d16
Revert "Allow external links to start with "www.*" ( #2100 )"
...
This reverts commit 902fd3a9fb
.
2023-03-19 20:36:25 +01:00
François
dd65e99300
Fix index errors ( #2129 )
...
* consider sections by path instead of by component
* add tests
* update more tests
2023-03-19 20:36:25 +01:00
Felix Zwettler
5ad9f84a81
fix zola serve
not respecting preserve_dotfiles_in_output
( #2113 )
...
* fix `zola serve` not respecting `preserve_dotfiles_in_output`
2023-02-24 22:20:26 +01:00
Vincent Prouillet
64feaeb3ee
Pass section.generate_feed
2023-02-24 22:20:26 +01:00
Vincent Prouillet
c67655e29f
Fix colocated assets in content directory
...
Closes #2101
2023-02-24 22:20:26 +01:00
Vincent Prouillet
193d97d930
Update changelog & test-case
2023-02-16 20:49:03 +01:00
Katie Watson
902fd3a9fb
Allow external links to start with "www.*" ( #2100 )
...
* Make www.* URLs considered valid external links
* Tweak description of is_external_link
2023-02-16 20:49:03 +01:00
Vincent Prouillet
bc27c01024
Remove println
2023-02-16 20:49:03 +01:00
Vincent Prouillet
6b461495fd
cargo fmt
2023-02-16 20:49:03 +01:00
Vincent Prouillet
0b31fc10d2
Add test for #1566
...
Closes #1566
2023-02-16 20:49:03 +01:00
Vincent Prouillet
05ab07bff0
Downgrade mockito to not raise MSRV
2023-02-16 20:49:03 +01:00
Vincent Prouillet
b4a8d3ce75
Update changelog & mockito
2023-02-16 20:49:03 +01:00
Kartavya Vashishtha
3e1f5777f1
feat: External URL redirect ( #2080 )
2023-02-16 20:49:03 +01:00
Seth Morabito
f4a1e99b98
Page and config authors ( #2024 ) ( #2092 )
...
The W3C feed validator fails to validate RSS 2.0 and Atom 1.0 feed
elements that do not contain a valid author. This change adds an
`authors: Vec<String>` to pages, as well as an `author: Option<String>`
to Config that will act as a default to use in RSS and Atom templates if
no page-level authors are specified.
2023-02-16 20:49:03 +01:00
Vincent Prouillet
4cd80a3df2
Update toml lib
...
Closes #1313
2023-02-16 20:49:03 +01:00
Vincent Prouillet
9f490bfb81
clippy
2023-02-16 20:49:03 +01:00
Vincent Prouillet
8ba6c1c2a1
Procimage refactor ( #2086 )
...
* Refactor image proc
Closes #2066
* Add colocated_path to shortcodes
Closes #1793
2023-02-16 20:49:03 +01:00
Orson Peters
29cb3fca7a
Removed faulty Windows-specific path check/conversion. Fixes #2076 . ( #2088 )
2023-02-16 20:49:03 +01:00
Vincent Prouillet
60d8425470
Errors on empty taxonomies term
...
Closes #2085
2023-02-16 20:49:03 +01:00
Vincent Prouillet
f363ea1ae8
Filter out temp files or with no extensions from colocated assets
2023-02-16 20:49:03 +01:00
Vincent Prouillet
ee4cbb649a
Handle pages named index.md in sections
...
Closes #2082
2023-02-16 20:49:03 +01:00
Vincent Prouillet
bb171009a1
Revert "Use reqwest rustls-tls"
...
This reverts commit 17c8aa77a5
.
2023-02-16 20:49:03 +01:00
Vincent Prouillet
a56e4248e1
Remove built-in shortcodes
...
Bazooka way of fixing #1832
2023-02-16 20:49:03 +01:00
Vincent Prouillet
61570bbf57
Use reqwest rustls-tls
...
Easier cross-compiling
Closes #1569
2023-02-16 20:49:03 +01:00
Vincent Prouillet
d828d526ca
Add plain text syntax alias to text
...
Closes #1633
2023-02-16 20:49:03 +01:00
Vincent Prouillet
d43b5e12ca
fmt + changelog + updates
2023-02-16 20:49:03 +01:00
Orson Peters
84d057fa1e
Reduced cachebust fingerprint to be more reasonable ( #2074 )
...
* Reduced cachebust fingerprint to be more reasonable.
2023-02-16 20:49:03 +01:00
Vincent Prouillet
0c5ffa8963
Remove code blocks from search index
...
Kinda closes #1176
2023-02-16 20:49:03 +01:00
Vincent Prouillet
5090c9e965
Use macro for LanguageOptions::merge
2023-02-16 20:49:03 +01:00
Victor Nilsson
2d44fe81f6
Merge default language data with section language data ( #2039 )
...
* Merge language data in config.toml
2023-02-16 20:49:03 +01:00
Vincent Prouillet
4aaed16c6d
Update base64
2023-02-16 20:49:03 +01:00
Vincent Prouillet
608837cddf
Clippy + 1.63
2023-02-16 20:49:03 +01:00
Vincent Prouillet
e12b766e2c
Fmt + change min version
2023-02-16 20:49:03 +01:00
Vincent Prouillet
fcbb21abca
Replace libsass by grass
...
Closes #1535
Closes #2022
2023-02-16 20:49:03 +01:00
Vincent Prouillet
c22ee676d3
Update some deps
2023-02-16 20:49:03 +01:00
David Reed
a7433a58d5
Expose markdown
config property to templates ( #2052 )
...
* Expose the markdown config property to templates
* Document additional strategies for linking code-highlight stylesheets
2023-02-16 20:49:03 +01:00
Felix Zwettler
d0b80654d1
add preserve_dotfiles_in_output configuration option ( #1985 )
2023-02-16 20:49:03 +01:00
Sosthène Guédon
3430d948f7
Fix needless_borrow warnings
2023-02-16 20:49:03 +01:00
Sosthène Guédon
76ca540142
markdown: Fix clippy warnings
2023-02-16 20:49:03 +01:00
Sosthène Guédon
53114533ff
imageproc: Fix clippy warning
2023-02-16 20:49:03 +01:00
Sosthène Guédon
e290616fad
content: Fix clippy warnings
2023-02-16 20:49:03 +01:00
Sosthène Guédon
3ef719af6a
templates: Fix clippy warning
2023-02-16 20:49:03 +01:00
Sosthène Guédon
f877835ed3
Site: fix clippy warnings
2023-02-16 20:49:03 +01:00
Sosthène Guédon
0183ea548a
Fix clippy::manual_retain
2023-02-16 20:49:03 +01:00
Sosthène Guédon
faf00d1047
Fix clippy::derive_partial_eq_without_eq
2023-02-16 20:49:03 +01:00