wvuweb / hammer

A tool for CleanSlate theme development
https://cleanslate.wvu.edu
4 stars 2 forks source link

r:root incorrectly looks for a page context #83

Closed zeroedin closed 5 years ago

zeroedin commented 5 years ago

The <r:root> tag incorrectly looks for page context to be preloaded.

<r:root> should load page: from mock_data.yml and expand, allowing the child tags to run with correct context.

In future versions of Hammer, <r:root> should correctly load the pages: key array from mock_data.yml.

zeroedin commented 5 years ago

Fixed in https://github.com/wvuweb/hammer/commit/41fa3f00cf702e99e19e27fff78f37c7fc39a9e4