Commit graph

1485 commits

Author SHA1 Message Date
Vincent Prouillet 04da527e53 Render anchor link 2017-04-10 19:58:44 +09:00
Vincent Prouillet 22392ff9ed Make relative link work with anchors 2017-04-10 19:58:44 +09:00
Vincent Prouillet b794a44a7f Add id to headers 2017-04-10 19:58:44 +09:00
Vincent Prouillet 7aeebcc981 Add current_url and current_path
To every templates, useful when doing
navigation to know which link is currently
active
2017-04-06 14:40:46 +09:00
Vincent Prouillet afc4a81ebf Fix rss link and description 2017-04-06 11:21:37 +09:00
Vincent Prouillet e6b48dff38 Release 0.0.3 2017-04-05 21:51:18 +09:00
Vincent Prouillet 3cdac7dee2 Merge pull request #30 from Keats/windows
Try to make windows work + remove musl
2017-04-05 21:13:46 +09:00
Vincent Prouillet cf3a8142c2 Try to make windows work + remove musl 2017-04-05 20:31:10 +09:00
Vincent Prouillet 5cd5884c30 Merge pull request #29 from Keats/filters
Add markdown and base64 filters
2017-04-04 23:39:22 +09:00
Vincent Prouillet b86a30fb78 Add markdown and base64 filters 2017-04-04 16:08:40 +09:00
Vincent Prouillet edd41a5b1b Forgot License 2017-03-30 15:35:04 +09:00
Vincent Prouillet 47c2209587 Merge pull request #25 from Keats/rel
Allow links to .md pages in pages contents
2017-03-30 15:12:35 +09:00
Vincent Prouillet 3aa2b89451 Allow links to .md pages in pages contents 2017-03-30 14:56:47 +09:00
Vincent Prouillet ad03aba945 Merge pull request #24 from Keats/shortcodes
WIP shortcode
2017-03-30 13:38:44 +09:00
Vincent Prouillet 6a05e5d98d Add some basic docs for shortcodes 2017-03-30 13:15:55 +09:00
Vincent Prouillet d03974270d Add some default shortcodes 2017-03-29 23:32:40 +09:00
Vincent Prouillet a6b8caf6de Add shortcodes 2017-03-29 21:45:41 +09:00
Vincent Prouillet 48d1e879cb Added gitter 2017-03-28 11:51:47 +09:00
Vincent Prouillet 0dcc7846e4 Merge pull request #22 from reillysiemens/lazy_front-matter_regex
Use lazy front-matter regex
2017-03-27 12:21:36 +09:00
Reilly Tucker Siemens f0dab659cc
Add regression test for lazy front-matter matching 2017-03-26 20:01:32 -07:00
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 817fe0f027 Merge pull request #17 from Keats/prettier
Prettier console output
2017-03-25 16:29:10 +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 90e3d3817f Merge pull request #16 from Keats/config-file
Allow selecting a config file other than config.toml
2017-03-25 13:57:30 +09:00
Vincent Prouillet 870fbbcd0f Allow selecting a config file other than config.toml 2017-03-25 13:18:15 +09:00
Vincent Prouillet 573ab48eb0 serde_json is not used 2017-03-25 12:04:58 +09:00
Vincent Prouillet b9005c5ea5 Update README.md 2017-03-25 00:25:15 +09:00
Vincent Prouillet 9ff6103a1c Update README.md 2017-03-25 00:24:49 +09:00
Vincent Prouillet 3ae6865dcb Right name in ci folder 2017-03-24 16:47:20 +09:00
Vincent Prouillet 769878032a Release 0.0.2 2017-03-24 16:33:19 +09:00
Vincent Prouillet d9d822c825 Update readme 2017-03-23 21:58:40 +09:00
Vincent Prouillet ba7d0c3672 Add badges and remove some comments in travis.yml 2017-03-23 20:05:03 +09:00
Vincent Prouillet 004b8822f1 Try trust for creating binaries on travis 2017-03-23 19:53:26 +09:00
Vincent Prouillet f2515ef28a Add appveyor 2017-03-23 19:37:41 +09:00
Vincent Prouillet 58208df35a Move highlight decision into the markdown_to_html fn 2017-03-23 14:11:24 +09:00
Vincent Prouillet 3cc5e0cf28 Remove extra assert 2017-03-23 13:42:14 +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 81596af366 Update clap 2017-03-20 15:32:43 +09:00
Vincent Prouillet 1b237dc466 Merge pull request #4 from Keats/0.0.1
0.0.1
2017-03-20 13:11:47 +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