Add tests, fix stuff #13
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a bunch of fully integrated test sites.
While here, fix some bugs:
.mdor.yamlfiles instead of.mkdand.yml..yamland.mdfiles not found by tack v1.0.0,.ymland.mkdwork #22siblingsin correct order. Page variable 'siblings' lists pages in lexical order even if page enumeration is used #4public/folder does not exist #5{{#current}}blocks break page context #8 (Needs Fix building context stack for inner elements of sections cbroglie/mustache#54){{.}}inside value sections #23 (Needs Fix rendering non-false value sections cbroglie/mustache#55)Also, add these features:
content/. Allow skipping to create anindexdirectory for the root page #19childrento iterate non-floating child pages. Supportchildrento iterate non-floating child pages #16poststo iterate all child pages marked with a date. Add support forpoststo iterate pages marked with a date #18menusections to iterate allsiblingsand the current page (only for non-floating pages). Supportmenuto iterate non-floating siblings and the current page #17children,menu,navigation,posts,siblings) addfirstandlastboolean values that can be used to construct better separators. Addfirst/lastflags for page iterators #21