Vincent Prouillet
024144ba78
cargo fmt
2021-02-02 20:49:57 +01:00
Vincent Prouillet
34989a8ef6
Fix panic in loading Page
...
Closes #1327
2021-02-02 20:48:32 +01:00
Vincent Prouillet
8e6c3f4fef
Update changelog + deps
2021-02-02 20:25:27 +01:00
southerntofu
15e0ae6699
load_data() template function takes a required
boolean flag ( closes #1209 ) ( #1306 )
...
* load_data() template function takes a `required` boolean flag
* Update tests for load_data()
* Add test to make sure invalid data always fails in load_data
* Better documentation, fixing a few typos
Co-authored-by: southerntofu <southerntofu@thunix.net>
2021-02-02 20:19:44 +01:00
David James
92b5b4b3a5
Add sort_by title ( #1315 )
...
* Add sort_by=title
* Remove old comment.
* Remove println! debugging
* Minor: text spacing
* Use lexical_sort crate for sort_by title
Co-authored-by: David James <davidcjames@gmail.com>
2021-01-20 15:35:25 +01:00
southerntofu
6950759eda
Internal links are supported in markdown filter ( #1318 )
...
* Internal links are resolved in tera markdown filter (close #1296 #1316 )
* Add a test for internal links in markdown filter
Co-authored-by: southerntofu <southerntofu@thunix.net>
2021-01-20 09:24:55 +01:00
southerntofu
14366dafc6
Fix fallback to syntax highlighting theme ( closes #1309 ) ( #1312 )
...
* Highlight fallback from extra syntaxes to the theme (close #1309 )
* Warning when codeblock language is unknown and cannot be highlighted
* page/section path in codeblock language missing warning
Co-authored-by: southerntofu <southerntofu@thunix.net>
2021-01-18 09:35:17 +01:00
Vincent Prouillet
96fb798a4a
Update test-case
2021-01-17 09:41:33 +01:00
Vincent Prouillet
6330184e7b
Merge pull request #1311 from southerntofu/bugfix-mimetype
...
bugfix: serve command respects mime types (closes #1308 )
2021-01-17 09:29:15 +01:00
southerntofu
347208f24e
serve command respects mime types ( closes #1308 )
2021-01-15 21:36:07 +01:00
Vincent Prouillet
ca1a6dd69d
Merge pull request #1305 from idolactivities/fix/1304-utf8-minification
...
Ensure minified HTML is truncated before converting to String
2021-01-13 09:53:33 +01:00
Vincent Prouillet
108986ba6b
Next version
2021-01-13 09:26:14 +01:00
Musee Ullah
0a5181d621
Ensure minified HTML is truncated before converting to String
...
Closes #1304
2021-01-12 21:03:49 -06:00
Vincent Prouillet
9444b920d2
Merge pull request #1294 from getzola/create-pull-request/patch-1610200492
...
Update themes gallery
2021-01-09 15:30:08 +01:00
GitHub Action
8fe5fc9b5f
Update themes gallery
2021-01-09 13:54:51 +00:00
Vincent Prouillet
1ef8c85f53
Merge pull request #1189 from getzola/next
...
Next version
2021-01-09 14:51:23 +01:00
Vincent Prouillet
b26a306904
Update snapcraft
2021-01-09 14:48:39 +01:00
Vincent Prouillet
63e1759713
Add pagination example to docs
...
Closes #1237
2021-01-09 10:26:32 +01:00
Vincent Prouillet
779a15a500
Pass lang to 404
...
Closes #1281
2021-01-09 10:21:50 +01:00
Vincent Prouillet
819cfc8ec2
Cargo update
2021-01-09 10:16:50 +01:00
Vincent Prouillet
ccad454922
Percent decode paths on zola serve
2021-01-07 19:16:31 +01:00
Vincent Prouillet
1a36c20bd2
Fix html minification
...
Closes #1292
2021-01-07 19:04:17 +01:00
Vincent Prouillet
aa03a7fec5
Fix highlighting
...
Closes #1291
2021-01-07 11:34:48 +01:00
Matt Riggott
3b074c185c
Include "markdown" in list of config.toml sections ( #1290 )
2021-01-07 10:49:17 +01:00
Vincent Prouillet
74bf676ced
Update MSRV
2021-01-05 22:15:09 +01:00
Vincent Prouillet
877f441422
Update reqwest
2021-01-05 22:11:15 +01:00
Vincent Prouillet
c4260e091d
Update hyper
...
Not by me: https://github.com/getzola/zola/pull/1246
Can't be arsed to figure out the issue I had with cherry-picking
the commit and submodules.
Originally merged on master by mistake
2021-01-05 22:06:55 +01:00
Vincent Prouillet
fc79225267
Revert "update to tokio 1.0 ( #1246 )"
...
This reverts commit 741b6bf830
.
2021-01-05 21:51:44 +01:00
Ibraheem Ahmed
741b6bf830
update to tokio 1.0 ( #1246 )
...
* update to tokio 0.3.4
* update tokio to v1.0.1
* update hyper to 0.14.1
* enable http1
* custom static file server
2021-01-05 21:50:19 +01:00
Vincent Prouillet
6622078038
DRY things a bit
2021-01-05 21:48:35 +01:00
Sam Vente
369fb40dfe
move translation population and path collision checking to insert stage ( #1272 )
2021-01-05 21:39:25 +01:00
Vincent Prouillet
b9b4ef9f04
Add data-lang on code blocks
2021-01-02 09:29:28 +01:00
Vincent Prouillet
7540ecd58e
Prefer custom syntax before built-in ones
2020-12-29 10:36:40 +01:00
Vincent Prouillet
2362cf2415
Move syntaxes around to make packing a two step process
...
Closes #1268
2020-12-28 17:39:54 +01:00
jfranklin9000
35e9f2bbc0
Remove blog page content enclosing paragraph tags in Overview ( #1267 )
2020-12-24 10:03:30 +01:00
Aidiakapi
358446a65f
Escape path for live reload. Fix #1247 . ( #1266 )
...
zola serve's live reload feature used to fail on Windows due to the path
separator (`\`) to not being escaped.
2020-12-23 10:37:05 +01:00
Vincent Prouillet
657905ed6e
Remove watch-only
2020-12-22 21:35:15 +01:00
Vincent Prouillet
39870d8675
Move extra_syntax to markup.rs
2020-12-21 08:54:43 +01:00
Vincent Prouillet
96439df0e2
Add some debug log time
2020-12-21 08:54:35 +01:00
Vincent Prouillet
fc8b4066f2
Update syntaxes + replace js lang in rendering
...
Closes #1241 , #1211
2020-12-15 10:42:35 +01:00
Vincent Prouillet
68cdfcbbe7
Fix panic with misnamed index section
...
Closes #1244
2020-12-14 22:51:30 +01:00
Vincent Prouillet
26b8ec66ac
Only watch sass if folder exists
...
Closes #1249
2020-12-14 22:23:00 +01:00
Vincent Prouillet
2d71a79bbe
Fix site
2020-12-14 20:58:59 +01:00
Vincent Prouillet
e984d6d018
Merge branch 'create-pull-request/patch-1607975269' into next
2020-12-14 20:55:07 +01:00
Vincent Prouillet
e1af2c940d
Merge branch 'next' into create-pull-request/patch-1607975269
2020-12-14 20:54:24 +01:00
GitHub Action
d620f93c53
Update themes gallery
2020-12-14 19:47:32 +00:00
Vincent Prouillet
cc3e4f9133
Update changelog + deps
2020-12-14 20:45:32 +01:00
Nathanael Lane
a210abc5a3
Add shortcode 'invocation' variable to allow a shortcode to track how… ( #1236 )
...
* add shortcode 'invocation' variable to allow a shortcode to track how many times it has been invoked in a given Markdown file
* use closure (implicit struct) instead of explicit struct for invocation tracking
* update variable name to "nth"
2020-12-14 20:43:32 +01:00
Sylvain Kerkour
a93063ba4a
search: Update elasticlunr.min.js to 0.9.6 ( #1260 ) ( #1261 )
2020-12-14 20:43:32 +01:00
Rostislav
679af5b8c8
add Allow: / to default robots.txt template ( #1258 )
...
Also update the documentation about it.
2020-12-14 20:43:32 +01:00