Commit Graph

10 Commits

Author SHA1 Message Date
Adam Fowler
1c51fcfe8c Add file header via swift format 2021-04-08 17:36:54 +01:00
Adam Fowler
35d52603e2 Template inheritance (#9)
* Move all context variables into HBMustacheContext

* Add support for reading inherited sections

* Render inherited tokens

* Test inheritance spec, fix two minor issues

* fix warning

* swift format
2021-03-22 12:02:22 +00:00
Adam Fowler
f9f8c1320a Renaming
HBMustacheMethods -> HBMustacheTransformable
HBMustacheContext -> HBMustacheSequenceContext
2021-03-19 14:48:44 +00:00
Adam Fowler
16a2c54be6 Added sections tests. Allow for searching of context stack 2021-03-18 10:32:42 +00:00
Adam Fowler
66edcba185 swift format 2021-03-15 18:24:06 +00:00
Adam Fowler
e391f5ae05 Comments 2021-03-15 15:09:16 +00:00
Adam Fowler
958fb97775 Added first/last to array, minusone to Int 2021-03-15 10:57:37 +00:00
Adam Fowler
465ad49f1f Add index filter 2021-03-14 17:53:20 +00:00
Adam Fowler
33b488fe40 Add support for first/last functions 2021-03-14 12:47:00 +00:00
Adam Fowler
5f49dd6953 Moving stuff about/renaming 2021-03-14 10:19:51 +00:00