Andrew Zah
f5ced05926
Separate interface and base url for gutenberg serve ( #223 )
...
Separate interface and base_url for serve
You can now have a different base_url and listening interface.
The `gutenberg serve` cmd now accepts `-u`/`--base-url`, but it defaults to `127.0.0.1`.
2018-02-02 17:18:07 +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
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
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
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
a07835bbe3
Ignore folder change on live reload. Close #118
2017-09-12 15:57:51 +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
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
2a150299f3
Move cli code to bin directory
2017-05-12 22:59:41 +09:00
Vincent Prouillet
ab3e04c9e5
Do not count the index as a section when printing
2017-05-12 21:30:59 +09:00
Vincent Prouillet
c791dffae5
Use livereload properly. Fix #10
2017-05-12 21:15:50 +09:00
Vincent Prouillet
c989ab607c
Add orphan in print notice and fix orphan with assets and url
2017-05-09 21:47:02 +09:00
Vincent Prouillet
f3edef2640
Warn about ignored pages
2017-05-09 21:12:10 +09:00
Vincent Prouillet
a3318d4b56
Pagination
2017-05-03 20:00:50 +09:00
Vincent Prouillet
27287a50c3
Do not unwrap on watchers in serve cmd
2017-05-01 18:11:18 +09:00
Vincent Prouillet
dd9bab3142
Fix XML template overriding
2017-04-28 16:18:18 +09:00
Erle Carrara
9acb70442f
Copy only modified files in static directory ( #27 )
...
Copy only static files that triggered the change notification
2017-04-18 14:07:02 +09:00
Vincent Prouillet
f44d698844
Add number of pages/section on serve as well
2017-03-25 16:12:58 +09:00
Vincent Prouillet
0aef05ac8e
Clippy + appveyor
2017-03-25 15:59:12 +09:00
Vincent Prouillet
a02d50c22a
Add some colours
2017-03-25 15:52:51 +09:00
Vincent Prouillet
870fbbcd0f
Allow selecting a config file other than config.toml
2017-03-25 13:18:15 +09:00
Vincent Prouillet
8b5183d4ad
Partial reloading of content on change
2017-03-21 16:57:00 +09:00
Vincent Prouillet
eb6fa3c314
Override base_url in serve cmd
2017-03-20 19:20:16 +09:00
Vincent Prouillet
7e496878e5
Sections
...
Parse _index.md files as sections and render them
2017-03-19 19:20:24 +09:00
Vincent Prouillet
60e30edce0
Make it work on stable
2017-03-10 22:24:56 +09:00
Vincent Prouillet
eaa09999fe
Clippy run
2017-03-10 22:19:36 +09:00
Vincent Prouillet
2d26bf038c
Force refresh on content/template change and various fixes
2017-03-10 21:36:43 +09:00
Vincent Prouillet
a57baf2934
Refactor serve/rebuilding a bit
2017-03-10 20:39:58 +09:00
Vincent Prouillet
57fd159025
Copy static directory and live reload changes to it
2017-03-09 16:34:12 +09:00
Vincent Prouillet
478e7054de
More precise time and show what changed
2017-03-08 14:00:54 +09:00
Vincent Prouillet
e68af48eb6
Make gutenberg a lib as well
2017-03-08 09:13:50 +09:00
Vincent Prouillet
a99f084ee2
Code highlighting
2017-03-07 21:37:07 +09:00
Vincent Prouillet
4acce865b4
Sort by date
2017-03-06 22:18:03 +09:00
Vincent Prouillet
f57912f712
Basic livereload
2017-03-06 19:35:56 +09:00
Vincent Prouillet
e948df1028
Add a Site struct that knows how to parse/build a site
2017-03-03 17:24:08 +09:00
Vincent Prouillet
91fa7e358c
Started working on gutenberg again
2017-02-24 11:21:58 +09:00
Vincent Prouillet
cbe1691f36
Rename new command to init
2016-12-19 16:58:03 +09:00
Vincent Prouillet
efa58e7de8
Roughly working page rendering
2016-12-13 19:14:49 +09:00
Vincent Prouillet
c09cfe2de4
Render section pages
2016-12-13 18:05:59 +09:00
Vincent Prouillet
a147e68f78
Start building sites
2016-12-13 15:22:24 +09:00
Vincent Prouillet
3cd5da2128
Separate front matter parsing from the page
2016-12-11 15:06:18 +09:00
Vincent Prouillet
4ae84e468b
Switch to tera 0.5
2016-12-09 20:24:05 +09:00
Vincent Prouillet
5ce6d41509
Add favicon to config
2016-12-06 21:48:23 +09:00
Vincent Prouillet
a6e421c5e4
Parsing front matter
2016-12-06 20:53:14 +09:00
Vincent Prouillet
a48a4c9bdf
Started working on pages
2016-12-06 17:27:03 +09:00
Vincent Prouillet
021b8ea21f
Create new project
2016-12-06 14:51:33 +09:00