Commit graph

15 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 5ac5625de1 Default to not generating tags and categories page
Also add a Site::render_section method
2017-05-12 22:54:13 +09:00
Vincent Prouillet 8711c9a3c0 Change Site::section and fix empty paginated sections 2017-05-12 20:24:44 +09:00
Vincent Prouillet c565f10cb3 Let sections have their own body 2017-05-12 18:05:00 +09:00
Vincent Prouillet 005990a928 Create a default index section if there is none 2017-05-12 16:30:01 +09:00
Vincent Prouillet 4df9752b54 Pass the <directory, section> to the index 2017-05-09 20:24:44 +09:00
Vincent Prouillet 2d4cba5b2d Make index a section like any other 2017-05-08 19:43:31 +09:00
Vincent Prouillet 5bfe1c213b Clippy run 2017-05-08 17:39:31 +09:00
Vincent Prouillet a3318d4b56 Pagination 2017-05-03 20:00:50 +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 f63ec475eb Add categories and tags to sitemap 2017-03-20 12:42:43 +09:00
Vincent Prouillet 7e496878e5 Sections
Parse _index.md files as sections and render them
2017-03-19 19:20:24 +09:00