Commit graph

167 commits

Author SHA1 Message Date
Vincent Prouillet 16f658c70c Move test_site and turn rebuild.rs into a component 2018-01-29 18:40:12 +01:00
Vincent Prouillet a44dd5f49a serve cleans after itself now
Closes #199
2018-01-22 18:11:28 +01:00
Vincent Prouillet f37992e03a Do not unwrap on serve 2018-01-22 13:46:36 +01:00
Thomas Vincent 67eca7731f Reload on config change (#206)
* Trigger rebuild when `config.toml` is edited
2018-01-12 11:50:29 +01:00
Vincent Prouillet 892c987152 Livereload shortcode changes
Fix #204
2018-01-09 23:39:21 +01:00
Vincent Prouillet 14edd2b875 Add output-dir option to build & serve
From #191
2017-12-29 19:26:17 +01:00
Vincent Prouillet 129e693521 Add default templates 2017-11-27 18:09:09 +01:00
Thomas Vincent 78a3602454 Add the detection of ChangeKind::Sass to tests 2017-11-21 00:05:37 +01:00
Vincent Prouillet 1d8df5774f Allow static folder to be missing 2017-10-25 14:49:54 +02:00
Vincent Prouillet e06611f46f Forgot to let base-url take a value >_> 2017-10-17 11:47:30 +02:00
Vincent Prouillet d2177df838 Stop using clap macro 2017-10-16 22:48:59 +02:00
Vincent Prouillet 73797efe90 Add a base-url flag to the build command 2017-10-05 10:56:13 +09:00
Vincent Prouillet 20c1947b47 Clippy run 2017-10-02 20:16:56 +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 de5d711771 Use flags for port/interface in serve cmd 2017-09-27 21:51:10 +09:00
Vincent Prouillet 5d7e0bb33e Register all Tera global fns on change 2017-09-26 17:25:55 +09:00
Vincent Prouillet a07835bbe3 Ignore folder change on live reload. Close #118 2017-09-12 15:57:51 +09:00
Vincent Prouillet f58e416b96 Clippy run 2017-08-31 18:01:26 +09:00
Vincent Prouillet 699ffb07ce Create themes folder on init 2017-08-25 08:43:54 +09:00
Vincent Prouillet c77cc9b170 First draft of theme support 2017-08-23 19:17:24 +09:00
Vincent Prouillet 23e4b911e7 Improve gutenberg init
Fix #104
2017-07-27 18:28:06 +09:00
Vincent Prouillet 2ea77f3883 Generate completions for all shells 2017-07-15 13:24:31 +09:00
Vincent Prouillet d78477b619 Add Sass support for *nix 2017-07-06 22:19:50 +09:00
Vincent Prouillet c3b525745e Convert project to a workspace 2017-07-01 16:47:41 +09:00
Vincent Prouillet 11c89fa663 Sorting benches 2017-07-01 12:06:49 +09:00
Vincent Prouillet 1f1fc3f454 Remove section from page context 2017-06-29 22:19:54 +09:00
Vincent Prouillet c7bea0bc54 Add weight sorting 2017-06-29 16:11:15 +09:00
Vincent Prouillet 7768a0cc12 Bench + parallelize more things 2017-06-27 22:39:04 +09:00
Vincent Prouillet b158ca7952 Read off disk in parallel 2017-06-22 14:21:56 +09:00
Vincent Prouillet b45f8c3116 Merge pull request #89 from williamyaoh/add-parallel
Parallelize site rendering using rayon
2017-06-21 18:14:30 +09:00
Vincent Prouillet 414457ed92 Get assets of page only if file is named index.md 2017-06-21 18:07:40 +09:00
William Yao 2109787625 coalesce syntect data structures into rendering::highlighting (Keats/gutenberg#89) 2017-06-21 04:00:37 -05:00
William Yao b759cf7681 parallelize site rendering with rayon (Keats/gutenberg#70) 2017-06-21 04:00:37 -05:00
Vincent Prouillet 6508b7e4d3 Name the index section 2017-06-19 18:14:13 +09:00
Vincent Prouillet 03bbe9cc90 Revert "Reverse order sorting to be desc"
This reverts commit 26e119479c.
2017-06-17 08:42:18 +09:00
Vincent Prouillet 6a059d86d0 Add aliases to pages. Fix #86 2017-06-16 23:09:01 +09:00
Vincent Prouillet 26e119479c Reverse order sorting to be desc 2017-06-16 22:12:38 +09:00
Vincent Prouillet e76ee7ae4a Pass section in context when rendering a page if there is one 2017-06-16 21:53:54 +09:00
Vincent Prouillet c3986b701a Add table of contents support 2017-06-16 13:00:48 +09:00
Vincent Prouillet 2d949249c3 Add trailing slash to paths and permalinks. Fix #85 2017-06-11 02:52:39 +09:00
Vincent Prouillet 0037f743cd Add license of livereload-js in serve.rs 2017-06-07 18:25:59 +09:00
William Yao 4c9d1e3af7 Add shortcode for Streamable videos (Electric Boogaloo) (#80)
Add shortcode for Streamable video
2017-06-06 12:51:20 +09:00
Vincent Prouillet ffe8a24333 Sort tag/category page by date
Fix #75
2017-05-30 19:23:10 +09:00
Vincent Prouillet bae3ade471 Add get_section fn and update readme 2017-05-23 20:03:25 +09:00
Vincent Prouillet 958f1cf88c Update Tera and fix tests 2017-05-23 19:49:10 +09:00
Vincent Prouillet 3fb06ac791 Clippy 2017-05-22 20:58:28 +09:00
Vincent Prouillet 92d81509d3 Rebuild pages on changes to insert_anchor 2017-05-22 20:56:37 +09:00
Vincent Prouillet 916f7407db Rename anchor link class 2017-05-22 20:44:33 +09:00
Vincent Prouillet efb4d16ede Remove next/previous page when adding a previous/next to avoid chains
Where all the posts would be serialized
2017-05-22 20:38:04 +09:00
Vincent Prouillet dbe4a1d517 Move insert_anchor to section and allow left/right 2017-05-22 20:28:43 +09:00