Commit graph

40 commits

Author SHA1 Message Date
Vincent Prouillet 07f11755d6 Create a content mod 2017-05-14 14:14:58 +09:00
Vincent Prouillet 09d5e74a65 Smarter rebuild on content change
Fix #59
2017-05-13 22:37:02 +09:00
Vincent Prouillet 299c3c8b22 Separate Page and Section front matter into 2 structs
Fix #61
2017-05-13 13:01:39 +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 2d4cba5b2d Make index a section like any other 2017-05-08 19:43:31 +09:00
Vincent Prouillet a3318d4b56 Pagination 2017-05-03 20:00:50 +09:00
Vincent Prouillet 6e9a9eaa1f Fix prev/next 2017-05-01 17:10:22 +09:00
Vincent Prouillet b256aaf7d0 Do not append non-sortables pages when not sortable 2017-05-01 15:35:49 +09:00
Vincent Prouillet a0b70bfc7e Allow sorting pages by order and date
Closes #14, #43
2017-05-01 14:46:01 +09:00
Vincent Prouillet 74be6d9c15 Add asset list in file not name index.md error message 2017-04-25 12:00:55 +09:00
Vincent Prouillet 1c9e078154 Clippy run 2017-04-22 12:35:11 +09:00
Vincent Prouillet 73feb41e17 Add missing fields to serialization
Also use Option for Page::summary

Close #38
2017-04-20 12:12:43 +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 a6b8caf6de Add shortcodes 2017-03-29 21:45:41 +09:00
Vincent Prouillet a02d50c22a Add some colours 2017-03-25 15:52:51 +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 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 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 dde9af3efd Copy assets found in content folders 2017-03-12 12:54:57 +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 4406b16007 Detect whether the page needs highlighting 2017-03-10 17:40:42 +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 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 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 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 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