Commit graph

6 commits

Author SHA1 Message Date
southerntofu e47deccf43
Make themes more flexible ()
* Site templates can replace theme templates

* Integrate test case within test_site/

* Full backwards-compatibility with testcase in test_site

* Refine test case

* Call parent's block in child template for test case

* Check both templates are applied

* Follow testing advice

* Test for 'include' in themes and shortcodes

* Documentation for themes and how to extend them

Co-authored-by: Vincent Prouillet <balthek@gmail.com>
2020-06-18 22:31:03 +02:00
Vincent Prouillet 83b04a561c Expose relative path of pages & sections
Closes 
2018-10-18 18:00:40 +02:00
Vincent Prouillet f14dbcbdf4 section.subsections is now an array of paths
Close 
Close 
Close 
Close 
Close 
2018-10-15 22:28:27 +02:00
Vincent Prouillet 16f658c70c Move test_site and turn rebuild.rs into a component 2018-01-29 18:40:12 +01:00
Vincent Prouillet c3b525745e Convert project to a workspace 2017-07-01 16:47:41 +09:00
Vincent Prouillet 7e496878e5 Sections
Parse _index.md files as sections and render them
2017-03-19 19:20:24 +09:00