Vincent Prouillet
84951d39e3
Allow taxonomies to not be rendered
...
Closes #1750
2022-04-27 21:11:42 +02:00
Vincent Prouillet
844576e32e
Remove unused deps thanks to cargo-machete
2022-04-27 19:49:57 +02:00
Michael Clayton
44b2f99ab8
fix typo in zola init
( #1836 )
2022-04-26 23:42:16 +02:00
Vincent Prouillet
27a200bb4e
Some more refactoring
2022-04-26 23:13:27 +02:00
Vincent Prouillet
6851ade642
Print path on metadata call failure
2022-04-26 22:38:00 +02:00
Vincent Prouillet
c14b1fa746
Remove duplicate code
2022-04-26 22:27:20 +02:00
Vincent Prouillet
9ab1bf2e4e
Re-organise content and remove slotmap indirection level ( #1827 )
2022-04-26 20:51:04 +02:00
Michael Clayton
92e80b5451
apply skip_prefixes before parsing external link domain ( #1833 )
...
* apply skip_prefixes before parsing external link domain
* log number of links skipped by skip_prefixes
2022-04-26 20:07:50 +02:00
Vincent Prouillet
55126050b3
Update themes gallery ( #1834 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-04-26 19:48:32 +02:00
Vincent Prouillet
468bce93da
Update themes gallery ( #1829 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-04-20 14:53:48 +02:00
Hidde Beydals
1d9d345264
Update broken link to container image versions ( #1830 )
...
This seems to have been forgotten in 2ded7f5a
.
2022-04-18 19:58:20 +02:00
Luís Fonseca
896ea596fd
rename extra_highligh_themes to extra_syntaxes_and_themes ( #1828 )
...
extra_highligh_themes does not exist
2022-04-17 19:38:24 +02:00
Vincent Prouillet
c11ae6ef28
Use anyhow ( #1816 )
...
Also fixes #1783
2022-04-01 21:37:38 +02:00
Vincent Prouillet
8d979bfd4e
Update themes gallery ( #1813 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-03-31 21:15:18 +02:00
Mish Ushakov
e3d7051caa
Added mish.co ( #1814 )
...
* Update EXAMPLES.md
2022-03-31 21:15:07 +02:00
Daniel RB
b8342e7da7
docs: fix overview example link #1786 ( #1811 )
...
* docs: fix overview example link
* docs: use get_url to track section
* docs: ignore get_url in example
2022-03-29 12:35:26 +02:00
Vincent Prouillet
62a0e7b1fd
Update deps
2022-03-23 10:00:55 +01:00
Vincent Prouillet
dfecf8075f
Try to change windows image for CI ( #1807 )
2022-03-21 10:43:52 +01:00
Spencer Scorcelletti
a13d41b47c
Allow load_data to take a literal ( #1794 ) ( #1794 )
...
* Add `literal` as a new entry for `data source`, to be used by the `load_data` function
* Add tests to the module for plain text, json, xml, toml, and csv
* Update error messaging to include literal as a potential choice
* Update site documentation to include instructions for using `load_data` with a literal
2022-03-21 10:15:24 +01:00
Michael Clayton
336a2716e0
switch from chrono to time ( #1790 )
...
* switch from chrono to time
* remove some unused time features
* get utc offset before threading begins
2022-03-20 22:01:01 +01:00
Vincent Prouillet
75d9e5a1e1
Fix zola init
2022-03-18 17:45:10 +01:00
Vincent Prouillet
b66a4f2387
Update themes gallery ( #1800 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-03-18 17:26:38 +01:00
Vincent Prouillet
1f5a524c12
Load extra themes even with theme=css
...
Closes #1775
2022-03-15 11:32:32 +01:00
Vincent Prouillet
2feda3ec61
Update deps
2022-03-04 21:36:35 +01:00
doomy
88e0624f11
Added XML support for load_data ( #1769 )
...
Co-authored-by: doomy <2640792-_doomy@users.noreply.gitlab.com>
2022-03-04 21:28:08 +01:00
Vincent Prouillet
a67370b8d8
Update pulldown_cmark
2022-03-04 00:16:48 +01:00
Vincent Prouillet
40d7208493
Refactoring rendering tests
2022-03-03 12:41:19 +01:00
Sam Vente
dde3531fd9
Make sure that zola serve/build can start from anywhere inside dir tree ( #1761 )
...
* Make sure that zola serve/build can start from anywhere inside dir tree
* make clippy and rustfmt a bit happier
* replace unecessary if-else with unwrap_or and display which path could not get canonicalized if it fails at startup
* canonicalize config_path to avoid crash when config.toml changes
2022-03-03 12:35:29 +01:00
southerntofu
fb347c2e02
Bugfix check links i18n ( close #1694 ) ( #1780 )
...
* Treat _index.LANG.md as section, not page (close #1694 )
Display more advanced information in case of a future crash here
* Add link to translated local section in test_site_i18n to catch #1694
It appears linking to another translated page does not trigger the bug,
but linking to a section within the same (translated) page does.
* Allow (and test for) homepage internal links in broken link detection
Co-authored-by: southerntofu <southerntofu@thunix.net>
2022-02-26 21:56:33 +01:00
Vincent Prouillet
e07c8c9a84
Update themes gallery ( #1778 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-02-24 09:03:44 +01:00
Vincent Prouillet
37f852cd55
Update themes gallery ( #1764 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-02-17 09:25:13 +01:00
Vincent Prouillet
3dde2ce562
Update netlify deploy docs
2022-02-15 20:56:38 +01:00
Sam Vente
fd052252f7
fix crash in build.rs when installing from source on linux ( #1760 )
2022-02-14 11:08:40 +01:00
Michael Clayton
a13279ea39
ignore links to '#' ( #1756 )
2022-02-14 11:08:40 +01:00
liushuyu
821fa38bc1
build: include metadata in Windows binary ( #1735 )
2022-02-14 11:08:40 +01:00
Kartavya Vashishtha
a5890a9901
Make ignored_content work with nested paths and directories ( #1738 )
...
* Make ignored_content work with directories
Just had to remove strip_prefix(path) from file ignore code.
Added tests for subdirectory globbing.
* Add documentation
* add more tests
to confim that simple filename globs still match paths
without strip_prefix
2022-02-14 11:08:40 +01:00
Vincent Prouillet
ae3a8b802e
Add libs subcrate ( #1747 )
...
* Add libs subcrate
* Remove last direct lazy_static usage
* Update pinned ci version
* Update deps
2022-02-14 11:08:40 +01:00
Scott Stevenson
fd0bcfabe6
Include path separator in log message ( #1749 )
...
This adds a path separator between the directory and filenames in the
message printed by `zola serve` to indicate it is listening for changes.
Before:
Listening for changes in /path/to/dir{config.toml, content, sass, static, templates}
After:
Listening for changes in /path/to/dir/{config.toml, content, sass, static, templates}
^
2022-02-14 11:08:40 +01:00
Michael Clayton
78b19d7133
Fix markup for fenced code with linenos ( #1746 )
...
* fix fenced code blocks with linenos and minify_html
* fix test cases involving linenos
2022-02-14 11:08:40 +01:00
Vincent Prouillet
4bcbf2a545
Update deps
2022-02-14 11:08:40 +01:00
Vincent Prouillet
53fca748e8
Mention Sass version support
...
Close #1619
2022-02-14 11:08:40 +01:00
Vincent Prouillet
f4f1e4b6e1
Mention translations for default language
...
Close #1634
2022-02-14 11:08:40 +01:00
Vincent Prouillet
4dfb35d83a
Mention paginator in getting started overview
...
Close #1658
2022-02-14 11:08:40 +01:00
Vincent Prouillet
108d196b85
Add link to theme in syntax doc
...
Close #1679
2022-02-14 11:08:40 +01:00
Vincent Prouillet
a9b4cc6302
Add stemmer for other languages in the docs
...
Close #1740
Close #1349
2022-02-14 11:08:40 +01:00
Marcin Puc
0f23a40e3f
Update arg parsing to clap v3 ( #1717 )
...
* Update arg parsing to clap v3
2022-02-14 11:08:40 +01:00
Vincent Prouillet
502dd92cc6
Next version
2022-02-14 11:08:40 +01:00
Vincent Prouillet
90bddf0ef5
Update themes gallery ( #1755 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-02-10 10:09:25 +01:00
alexander
991c18c2de
fixing docs for #1753 ( #1757 )
2022-02-10 10:09:15 +01:00
Philpax
542daa752c
Shortcodes: Mention argument parens are mandatory ( #1752 )
2022-02-07 11:15:14 +01:00