Vincent Prouillet
9e0f4002b3
Handle colocated links to assets
...
Solves #1993
2023-02-16 20:49:03 +01:00
Vincent Prouillet
95c56d47bf
Update deps
2023-02-16 20:49:03 +01:00
Yaroslav
88433b6677
Add flag to override prompt for existing dir ( #1986 )
...
* Add flag to override prompt for existing dir
Added --force flag to build subcommand.
* Remove unnecessary 'force' check
* Remove prompt to overwrite directory on build cmd
2023-02-16 20:49:03 +01:00
ZettaScript
4a6d13f2cb
Tera date-locale feature ( #1978 )
2023-02-16 20:49:03 +01:00
bemyak
aecbc10c9b
Add sorting by slug ( #1926 )
2023-02-16 20:49:03 +01:00
Vincent Prouillet
ee961056c8
Simplify taxonomy term struct
2023-02-16 20:49:03 +01:00
Eric Scouten
5fb0867b3a
Get term fn ( #1964 )
...
* Add new `get_taxonomy_term` global function
* Update per @Keats feedback to make `page_count` available all the time.
2023-02-16 20:49:03 +01:00
Andrew Browne
7b562fcd2c
Add slugify.paths_keep_dates option. Update docs.
...
Manual testing:
Existing test_site/config.toml
http://127.0.0.1:1111/posts/a-post-with-dates
====
--- a/test_site/config.toml
+++ b/test_site/config.toml
@@ -18,6 +18,7 @@ extra_syntaxes_and_themes = ["syntaxes", "highlight_themes"]
[slugify]
paths = "on"
+paths_keep_dates = true
taxonomies = "on"
anchors = "on"
http://127.0.0.1:1111/posts/2016-10-08-a-post-with-dates
====
--- a/test_site/config.toml
+++ b/test_site/config.toml
@@ -17,7 +17,8 @@ highlight_theme = "custom_gruvbox"
extra_syntaxes_and_themes = ["syntaxes", "highlight_themes"]
[slugify]
-paths = "on"
+paths = "off"
+paths_keep_dates = true
taxonomies = "on"
anchors = "on"
http://127.0.0.1:1111/posts/2016-10-08_a-post-with-dates
====
--- a/test_site/config.toml
+++ b/test_site/config.toml
@@ -17,7 +17,8 @@ highlight_theme = "custom_gruvbox"
extra_syntaxes_and_themes = ["syntaxes", "highlight_themes"]
[slugify]
-paths = "on"
+paths = "safe"
+paths_keep_dates = true
taxonomies = "on"
anchors = "on"
http://127.0.0.1:1111/posts/2016-10-08_a-post-with-dates
2023-02-16 20:49:03 +01:00
Marcin Puc
74c090a637
Add completion subcommand ( #1968 )
...
* Add completion subcommand
* Remove old completion scripts
* Move completion logic
2023-02-16 20:49:03 +01:00
Joel Montes de Oca
567f103ee3
Imporved is_colocated_asset_links ( #1972 )
...
This PR includes the following:
- Added a check for `../` which would check to see if a file is in a
_sub_ directory
- Wrote test for `is_colocated_asset_links`
This PR is similare to PR #1969
2023-02-16 20:49:03 +01:00
Newbyte
6b6ad38301
Metainfo: Add 0.16.1
2023-02-16 20:49:03 +01:00
Vincent Prouillet
70e9a502e4
Next version
2023-02-16 20:49:03 +01:00
Vinicius Akira
715bd0db60
Update zola-deploy-action
version on docs ( #2098 )
...
Old version was not able to fetch theme submodules: https://github.com/shalzz/zola-deploy-action/issues/50
It was fixed in the following PR: https://github.com/shalzz/zola-deploy-action/pull/52
This commit changes the docs to match the newest `zola-deploy-action` version, without the problem above.
2023-02-13 13:50:27 +01:00
Vincent Prouillet
f27ea8c029
Fix typo
2023-02-11 16:12:39 +01:00
Marcin Puc
3e5c19fffa
document installing via github actions ( #2097 )
2023-02-11 15:28:49 +01:00
David Reed
ae79a605c6
Document the render field on taxonomies ( #2094 )
2023-02-10 09:31:49 +01:00
Koen Bolhuis
9ea33f0dbd
Fix erroring suggestion in docs ( #2087 )
...
The docs suggest `reverse` after `group_by`, but that causes an error.
2023-02-08 22:31:18 +01:00
Scott Bronson
3af1815ea3
Best way to install Zola on Fedora now is COPR ( #2070 )
2023-01-28 22:44:46 +01:00
Vincent Prouillet
d899f3be6a
Update themes gallery ( #2047 )
...
Co-authored-by: GitHub Action <action@github.com>
2023-01-08 22:01:11 +01:00
Rishi Raj Jain
2b7875ff8c
docs: rebrand Layer0 to Edgio ( #2068 )
2023-01-08 21:30:29 +01:00
Uwe Arzt
1a3c6d7e01
Moved source uwe-arzt.de from github to codeberg ( #2062 )
2023-01-02 16:50:42 +01:00
Kian-Meng Ang
1353585cbb
Fix typos ( #2056 )
...
Found via `codespell docs -S docs/content/themes -L
crate,mouvement,edn,tese,doas`
2023-01-02 16:16:33 +01:00
Nikita Ronja
8bbf37791f
documentation: Add pkgsrc. ( #1812 )
2022-12-13 10:59:54 +01:00
Hugo Trentesaux
1dc768284c
Update creating-a-theme.md ( #2045 )
...
remove duplicate doc
2022-12-03 21:15:40 +01:00
Nabeen Tiwaree
7a321050bc
add: more example websites ( #2023 )
...
* add: more example websites
* add: new more example sites
* removed 404 sites
2022-11-30 15:37:20 +01:00
Vincent Prouillet
1e2da2fc25
Update themes gallery ( #2038 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-11-30 15:36:35 +01:00
Alexander Borsuk
7ff5277925
Fixed default_language typo ( #2040 )
2022-11-28 10:20:41 +01:00
magikstm
6f29740c18
Update Shortcodes doc to add details on Macros for templates ( #2035 )
2022-11-25 12:01:33 +01:00
Vincent Prouillet
4eb3ec82d7
Update themes gallery ( #2014 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-11-14 21:22:17 +01:00
Berin Aniesh
c9786020e4
update version of zola-deploy-action ( #2012 )
2022-11-02 22:05:11 +01:00
YesSeri
53cf920291
Quotation mark bug fix ( #2005 )
...
Changed double quotation mark " to single quotation ', otherwise the code doesn't work.
2022-10-30 21:43:05 +01:00
Vincent Prouillet
eba1913cdf
Update themes gallery ( #1999 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-10-11 19:32:06 +02:00
Edward Maxwell-Lyte
ad6c834123
docs: github action version updates ( #1977 )
...
* docs: github action version updates
* Uses latest version of the action
* Updated requirement for token to be set
(138a3568d1/entrypoint.sh (L44)
will exit out without it)
* Reduced TOKEN scope and added scope to URL. Aligns with action docs
* docs: revert commentary on token requirement
* docs: add note about passing in automatic token
2022-08-30 10:28:49 +02:00
Vincent Prouillet
7f4060b82a
Update themes gallery ( #1971 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-08-22 22:30:31 +02:00
Vincent Prouillet
195b6bdff0
Fix outdated release windows image
2022-08-14 16:40:08 +02:00
Vincent Prouillet
53ce6db057
Update MSRV
2022-08-14 16:08:48 +02:00
Vincent Prouillet
3d45cffb72
Last cargo update
2022-08-14 16:08:48 +02:00
apiraino
b9501de55f
Strip binary artifact when building for release ( #1949 )
...
* Strip binary artifact when building for release
* Update rustc toolchain to 1.59 for Ubuntu in CI
2022-08-14 16:08:48 +02:00
Vincent Prouillet
584de3adaf
Remove logging
2022-08-14 16:08:48 +02:00
Nick Darnell
3fde41b6e5
The Glob library does not work correctly on windows. This changes the approach to use the normal WalkDir crate, and the Globset crate instead to find the filter. This new code correctly compiles sass files across platforms now. ( #1950 )
2022-08-14 16:08:48 +02:00
Vincent Prouillet
2a445fa4dc
Update deps
2022-08-14 16:08:48 +02:00
Radovan Bast
f61e1ba9a2
parse also *.yml file suffix as YAML; closes #1958 ( #1959 )
...
previously only files with *.yaml suffix were recognized as YAML
2022-08-14 16:08:48 +02:00
Vincent Prouillet
abafe66a51
Fix overriding built-in shortcodes
...
Closes #1947
2022-08-14 16:08:48 +02:00
Vincent Prouillet
fd565243a2
Next version will be 0.16.1
2022-08-14 16:08:48 +02:00
Newbyte
6f0697d438
Update Alpine Linux installation instructions ( #1953 )
2022-08-14 16:08:48 +02:00
Tristam MacDonald
93d61cdf72
remove string manipulation of paths ( #1941 )
...
* remove string manipulation of paths
2022-08-14 16:08:48 +02:00
Vincent Prouillet
d8d9604625
update deps
2022-08-14 16:08:48 +02:00
Vincent Prouillet
18c62315cf
Lowercase config.mode
2022-08-14 16:08:48 +02:00
Andrew Browne
e4bab1f21c
Cleanup code to generate page slug. ( #1936 )
2022-08-14 16:08:48 +02:00
Vincent Prouillet
4e14203fc2
Next version
2022-08-14 16:08:48 +02:00