Vincent Prouillet
627222afad
Update sitemaps namespace
...
Closes #722
2019-07-12 22:54:18 +02:00
Vincent Prouillet
dc4904dd5f
Update escaping with latest version of Tera
2019-06-16 12:17:13 +02:00
Vincent Prouillet
35138468ac
Urlencode urls in xml templates
2019-06-15 11:49:47 +02:00
Vincent Prouillet
0aee33f9c5
Add very copy/pasty impl of anchor checking
2019-06-06 19:49:40 +02:00
Vincent Prouillet
83cf19877a
Merge pull request #703 from cbiffle/master
...
Add XML declarations to XML templates.
2019-06-05 19:21:28 +02:00
Cliff L. Biffle
eba9726d07
Add XML declaration to XML templates.
...
Without this, at least one search engine spider was generating a
validation warning.
2019-06-05 08:03:22 -07:00
Vincent Prouillet
cb962f7a64
Add aliases to sections
2019-06-02 20:21:06 +02:00
Stuart Small
12d2576fba
Fix for #632 - add ability to get asset image dimensions ( #670 )
2019-05-30 20:06:24 +02:00
Vincent Prouillet
ec61a57841
Use @/ for internal links rather than ./
...
Close #686
2019-05-27 14:35:18 +02:00
Vincent Prouillet
603906de85
Add a test for local time in TOML
2019-04-18 18:55:09 +02:00
sebastien
c2f682ede6
specify proper sitemap schema
2019-04-02 18:31:50 +02:00
Vincent Prouillet
97e796a724
More tests for load_data
2019-03-22 20:44:06 +01:00
Vincent Prouillet
e00cd3e1b0
Always default to plain for load_data on unknown extensions
2019-03-22 20:34:02 +01:00
Vincent Prouillet
c63b7fde44
load_data now defaults to plain type + fix bug with get_taxonomy fn
2019-03-16 10:01:11 +01:00
Vincent Prouillet
9beaa26023
Add link to sitemap to robots.txt
2019-03-14 21:30:53 +01:00
Vincent Prouillet
7baf08cef2
Update docs for sitemap
2019-03-14 21:15:01 +01:00
Sébastien Mariaux
2a0d0b9b77
Split sitemap ( #619 )
...
Split sitemap when it is getting too big
2019-03-14 20:57:22 +01:00
Vincent Prouillet
135dc5d5bc
Change default directory for load_data
2019-03-11 20:21:13 +01:00
Vincent Prouillet
42089a18ba
Merge pull request #609 from mziter/next
...
Handle csv parsing error when encountering rows with different lengths
2019-02-16 08:59:56 +01:00
Vincent Prouillet
9bc675f2a7
Fix colocated dates + rustfmt
...
Closes #607
2019-02-09 19:54:47 +01:00
Matthew Ziter
844be88472
Handle csv parsing error to fix issue getzola/zola#588
2019-02-04 15:58:58 -05:00
Vincent Prouillet
1c7729cac6
Default lang to config.default_language
2019-01-29 19:20:11 +01:00
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.
2019-01-29 16:30:54 +08:00
Vincent Prouillet
21d67235ae
Arc-ify Library
2019-01-27 18:57:07 +01:00
Vincent Prouillet
1e2dd9ce03
Update tera to v1 alpha
2019-01-23 19:20:43 +01:00
Nicolas Pochet
b65979fac7
Render the theme template files if present
...
* Change the behavior of the template rendering:
* Check if the template bare name is present
* Check if the template is part of a theme
* Fallback to defaults
* Change the behavior of the shortcode rendering:
* Call the template rendering function
* Prepend `__zola_builtins/` to most of the default elements in `ZOLA_TERA`
* Add a test to verify the presence and content of a `404.html` page
from a theme's template
2019-01-19 18:06:51 +01:00
Vincent Prouillet
5caf24f06c
Remove error-chain
...
Closes #576
2019-01-17 14:31:47 +01:00
Vincent Prouillet
538866487b
Add multilingual taxonomies
2019-01-07 21:03:34 +01:00
Vincent Prouillet
19075191ff
Add translations to page/sections
2019-01-04 20:31:31 +01:00
Vincent Prouillet
832360f9b1
Update deps + rustfmt
2019-01-02 20:41:29 +01:00
Vincent Prouillet
fdb6a2864c
Merge pull request #566 from vojtechkral/imgproc
...
Implement suggestions in #546
2018-12-30 12:44:48 +01:00
Vincent Prouillet
a12e9512bc
fmt/clippy
2018-12-29 11:17:43 +01:00
Vojtech Kral
6e84eec32b
imageproc: Add the format
option, support for PNG thumbnails
...
Fix #546
2018-12-28 01:41:22 +01:00
Vincent Prouillet
c0bbe16eac
cargo fmt + update
2018-12-10 18:21:08 +01:00
Shotaro Yamada
692103bff4
Remove redundant clone
2018-11-19 23:08:34 +09:00
Vincent Prouillet
7af314c61e
Update deps + fmt
2018-11-14 17:34:21 +01:00
Vincent Prouillet
56af4ca7f9
Add page_template to sections
...
To override all child pages
Closes #397
Tests from PR #434
2018-11-07 19:42:23 +01:00
Vincent Prouillet
cb3c42078a
Fix load_toml date handling and fix bug in date conversion
2018-11-01 10:36:19 +01:00
Vincent Prouillet
b7ce4e59fb
rustfmt
2018-10-31 08:18:57 +01:00
Vincent Prouillet
d524482ac1
Cargo update & some doc tweak
2018-10-30 15:07:23 +01:00
Jake Howard
aad12d829f
Remote data ( #494 )
2018-10-29 20:13:09 +01:00
Vincent Prouillet
f84ae7c93b
Rename all occurrences of gutenberg to zola in code
2018-10-18 22:50:06 +02:00
Luke Frisken
1baa7750f3
CSV and TOML loading global functions ( #379 )
...
Local CSV/TOML/JSON loading Tera function
2018-10-18 17:32:30 +02:00
Vincent Prouillet
86c418372f
Add metadata_only to get_section
2018-10-18 16:49:33 +02:00
Vincent Prouillet
f14dbcbdf4
section.subsections is now an array of paths
...
Close #446
Close #260
Close #478
Close #284
Close #480
2018-10-15 22:28:27 +02:00
Vincent Prouillet
cdcebaea26
Cleanup of slotmap impl
...
Fix #205
2018-10-05 19:46:04 +02:00
Vincent Prouillet
10aba20fe5
Slotmap refactor
2018-10-03 16:29:29 +02:00
Christian Friedrich Coors
85529186e4
Fix some clippy warnings
2018-09-30 21:15:09 +02:00
Vincent Prouillet
5fe4590063
Default get_url to not add a trailing slash
...
Closes #388
2018-09-10 20:13:45 +02:00
Vincent Prouillet
c2b76d1850
Enable markdown extensions for markdown filter
...
Closes #417
2018-09-10 17:22:36 +02:00
Vincent Prouillet
38b30eb144
Update deps and fix deprecrations
2018-09-09 19:43:14 +02:00
Vincent Prouillet
bd6578e71c
Fix failing test
2018-08-03 18:32:30 +02:00
Vincent Prouillet
efddb24b95
We actually need get_taxonomy_url. Also update docs
2018-07-31 16:35:16 +02:00
Vincent Prouillet
60a52fd2cc
Some intellij reformatting
2018-07-31 15:30:49 +02:00
Vincent Prouillet
1ae0702494
Custom taxonomies ( #330 )
2018-07-16 10:54:05 +02:00
Owen Nelson
8f460dc28b
Custom 404 page now template driven.
...
Since we are using a builtin template, we can be assured to have the
target file in place. Middleware renamed since it is bound directly to
the concept of handling 404s.
2018-06-25 23:24:57 -07:00
Vincent Prouillet
d47ba4aff0
Rebasing + tweaks
2018-06-25 19:13:21 +02:00
Vojtech Kral
6662014e55
Add image resizing support #225
2018-06-25 18:05:04 +02:00
Vincent Prouillet
b3b2527c5d
TIL about serde default
2018-03-12 20:11:03 +01:00
Vincent Prouillet
54841b19bb
Merge pull request #220 from Keats/markdown-inline
...
Markdown inline
2018-02-02 17:29:16 +01:00
Vincent Prouillet
16f658c70c
Move test_site and turn rebuild.rs into a component
2018-01-29 18:40:12 +01:00
Vincent Prouillet
29ce510aa3
Add inline option of markdown filter
...
Fix #197
2018-01-26 16:22:38 +01:00
Vincent Prouillet
b06f012be4
Fix tests wrt language_code
2018-01-16 13:49:49 +01:00
Baptiste Darthenay
046de8c998
Config with i18n
2018-01-15 17:54:06 +01:00
Vincent Prouillet
021c99c5f0
Fix tests and add taxonomies to changelog
2017-11-26 10:07:34 +01:00
Vincent Prouillet
322d2f30fb
Add get_taxonomy_url global_fn
...
And fix bug with taxonomies urls
2017-11-26 10:07:34 +01:00
Carson Page
8759323a16
Add trailing_slash opt. to get_url ( #173 )
...
* Added inital trailing_slash impl
* Added simple test
* Updated docs website to use trailing_slash option
* Updated documentation to reflect new trailing_slash option
* Added combined cachebust and trailing_slash test
2017-11-26 10:07:34 +01:00
Vincent Prouillet
2db7ec4843
Remove deprecated link param of get_url
2017-10-03 23:25:02 +09:00
Vincent Prouillet
dee1dbe667
Working on site
...
And some tweaks as I write the docs
2017-09-29 15:37:58 +09:00
Vincent Prouillet
f58e416b96
Clippy run
2017-08-31 18:01:26 +09:00
Vincent Prouillet
262ff5ec00
Rewrite theme tera paths and merge theme.toml data
2017-08-25 08:38:03 +09:00
Vincent Prouillet
c77cc9b170
First draft of theme support
2017-08-23 19:17:24 +09:00
Vincent Prouillet
8a11d8e049
Fold get_static_url in get_url
2017-08-07 23:29:58 +09:00
Vincent Prouillet
fc63765ee1
Add a get_static_url global fn
...
Fix #108
2017-08-07 20:38:14 +09:00
Vincent Prouillet
23e4b911e7
Improve gutenberg init
...
Fix #104
2017-07-27 18:28:06 +09:00
Vincent Prouillet
998283d17c
Faster render_sitemap
2017-07-05 08:27:27 +09:00
Vincent Prouillet
c3b525745e
Convert project to a workspace
2017-07-01 16:47:41 +09:00