Vincent Prouillet
f4db5180ba
Add sections to index page context
2017-03-27 11:48:13 +09:00
Reilly Tucker Siemens
7c1cecb211
Use lazy front-matter regex
...
Using a greedy regex could lead to unintended consequences, like the
inability to syntax highlight a unified diff. This resolves issues like
that by using .*? instead of .* so that the closing +++ is matched as
soon as possible.
2017-03-26 19:12:04 -07: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
58208df35a
Move highlight decision into the markdown_to_html fn
2017-03-23 14:11:24 +09:00
Vincent Prouillet
d05a1559d9
Add prev/next hack
2017-03-23 13:10:00 +09:00
Vincent Prouillet
8b5183d4ad
Partial reloading of content on change
2017-03-21 16:57:00 +09:00
Vincent Prouillet
b0cc1ac042
Add robots.txt
2017-03-20 21:40:03 +09:00
Vincent Prouillet
eb6fa3c314
Override base_url in serve cmd
2017-03-20 19:20:16 +09:00
Vincent Prouillet
540bbcc1b6
Add flags in config to disable tags/categories generation
2017-03-20 18:36:24 +09:00
Vincent Prouillet
9af85ba3e4
Pick highlighting theme from config
2017-03-20 17:30:50 +09:00
Vincent Prouillet
f63ec475eb
Add categories and tags to sitemap
2017-03-20 12:42:43 +09:00
Vincent Prouillet
fd10e77e39
Sort section pages after parsing
2017-03-19 20:34:02 +09:00
Vincent Prouillet
6df68da84b
Add tests for categories and tags
2017-03-19 20:20:24 +09:00
Vincent Prouillet
d8995c156c
Add sections to sitemap
2017-03-19 19:40:31 +09:00
Vincent Prouillet
cd70aac065
Clippy run
2017-03-19 19:29:43 +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
4e99389566
disable_rss -> generate_rss in config
2017-03-12 13:01:17 +09:00
Vincent Prouillet
dde9af3efd
Copy assets found in content folders
2017-03-12 12:54:57 +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
4406b16007
Detect whether the page needs highlighting
2017-03-10 17:40:42 +09:00
Vincent Prouillet
09ade9573c
Use a lazy_static version of tera templates
2017-03-09 16:46:38 +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
d43d738a4f
RSS feed generation
2017-03-07 16:43:27 +09:00
Vincent Prouillet
fa7fc6e49b
Render categories and tags
2017-03-07 15:01:20 +09:00
Vincent Prouillet
4f1f73fe56
Add summary
2017-03-07 12:43:30 +09:00
Vincent Prouillet
434a7fcde8
Permalinks and sitemap
2017-03-07 12:11:59 +09:00
Vincent Prouillet
e5367453d7
Wordcount + reading time
2017-03-06 22:45:33 +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
f29eabe713
Simple config system
2016-12-06 15:55:17 +09:00
Vincent Prouillet
021b8ea21f
Create new project
2016-12-06 14:51:33 +09:00