{"_id":"marko-layout","_rev":"30-abf8e4be860b9ae959933d9c3b867716","name":"marko-layout","dist-tags":{"latest":"2.0.2"},"versions":{"1.1.0":{"name":"marko-layout","version":"1.1.0","keywords":["marko-taglib","marko","layout"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"Apache License v2.0","_id":"marko-layout@1.1.0","maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"}],"homepage":"https://github.com/raptorjs3/marko-layout","bugs":{"url":"https://github.com/raptorjs3/marko-layout/issues"},"dist":{"shasum":"431ec48e1b50807a7ea629657e7ee121fd0078ac","tarball":"https://registry.npmjs.org/marko-layout/-/marko-layout-1.1.0.tgz","integrity":"sha512-3XEC6ggruE4zoVWy7wujLxGdWAJthNPR0YT6KHnnGwRYdgHsPXTngLei6TxATDOl7WUrJBv6RhSnglUPKZdxvQ==","signatures":[{"sig":"MEUCIQC++FgPrYWRM0XGoh7Q4lnt5M9bUDIC8lt+0Wznd2j1qQIgUvnbgXw75Ms21Nudo5sU63XrelZaSbVI6rwG3MUzuAc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"431ec48e1b50807a7ea629657e7ee121fd0078ac","gitHead":"f753fe49a8995f07bb9bee5049c962132f32dfcf","scripts":{"test":"jshint *.js dust/"},"_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"repository":{"url":"https://github.com/raptorjs3/marko-layout.git","type":"git"},"_npmVersion":"1.4.14","description":"Layout taglib for marko","directories":{},"dependencies":{"raptor-dust":"^1.0.0-beta","raptor-util":"^1.0.0-beta","raptor-polyfill":"^1.0.0-beta"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"jshint":"^2.5.0"}},"1.2.0":{"name":"marko-layout","version":"1.2.0","keywords":["marko-taglib","marko","layout"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"Apache License v2.0","_id":"marko-layout@1.2.0","maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"}],"homepage":"https://github.com/raptorjs3/marko-layout","bugs":{"url":"https://github.com/raptorjs3/marko-layout/issues"},"dist":{"shasum":"6eb3cba0d41eb78229f29c98481657238519a1ab","tarball":"https://registry.npmjs.org/marko-layout/-/marko-layout-1.2.0.tgz","integrity":"sha512-HQqdE4jX4NDyldZaSZ2Rh85/gvvdhwKO4mkVHZC7sAj1qSL6Fdeoual569LGyCJCdKWf8orTPV1AThsb2bsUAw==","signatures":[{"sig":"MEQCIEB4+aJIal4UQoXV9dpaZEAcuo0P131tMaxHU0YFRhP+AiA+EjboJulm5Nw8V8uWA0u9e9mUH2TCH66TYwF+TNU0sA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"6eb3cba0d41eb78229f29c98481657238519a1ab","gitHead":"e9a4b9db845c94f91c8d7f0e1ff8800bff21c469","scripts":{"test":"jshint *.js dust/"},"_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"repository":{"url":"https://github.com/raptorjs3/marko-layout.git","type":"git"},"_npmVersion":"1.4.14","description":"Layout taglib for marko","directories":{},"dependencies":{"raptor-dust":"^1.0.0-beta","raptor-util":"^1.0.0-beta","raptor-polyfill":"^1.0.0-beta"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"jshint":"^2.5.0"}},"1.2.1":{"name":"marko-layout","version":"1.2.1","keywords":["marko-taglib","marko","layout"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"Apache License v2.0","_id":"marko-layout@1.2.1","maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"}],"homepage":"https://github.com/raptorjs3/marko-layout","bugs":{"url":"https://github.com/raptorjs3/marko-layout/issues"},"dist":{"shasum":"6c0a0e6379eb645a3100c4c62b0e9f46049c8689","tarball":"https://registry.npmjs.org/marko-layout/-/marko-layout-1.2.1.tgz","integrity":"sha512-kuD+RswITq7SXEzZRRVCxKy21EPNwoo5j0bX4EcZQ15RwiwRwm0syWw59myIfSwQ6vJaCZ8WUlwVf8OJTQj2vQ==","signatures":[{"sig":"MEUCIEmgSbE9XcW+2ngdbxTgJ/BVpZQZAv9y0tvpjhZTkztGAiEA1N72wdxFMDYEYJUiyfSIUhlUR5SgYbBy2LqgQIf8re4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"6c0a0e6379eb645a3100c4c62b0e9f46049c8689","gitHead":"18e4b8419b9c3a8dd18e94eed31c23f4388fcebb","scripts":{"test":"jshint *.js dust/"},"_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"repository":{"url":"https://github.com/raptorjs3/marko-layout.git","type":"git"},"_npmVersion":"1.4.14","description":"Layout taglib for marko","directories":{},"dependencies":{"raptor-dust":"^1.0.0","raptor-util":"^1.0.0","raptor-polyfill":"^1.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"jshint":"^2.5.0"}},"1.2.2":{"name":"marko-layout","version":"1.2.2","keywords":["marko-taglib","marko","layout"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"Apache License v2.0","_id":"marko-layout@1.2.2","maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"}],"homepage":"https://github.com/raptorjs3/marko-layout","bugs":{"url":"https://github.com/raptorjs3/marko-layout/issues"},"dist":{"shasum":"5fb29dc856774e0e5c596d27a259e921d984ab40","tarball":"https://registry.npmjs.org/marko-layout/-/marko-layout-1.2.2.tgz","integrity":"sha512-rRPKyYzx7I36LFWz0h7gyXsplDpeYY4P5aEBfgEEDDj9I6UA96PmP7KvCYHWPEeNM24+BcfMKtrpv3U2z4iVlg==","signatures":[{"sig":"MEUCIHrDRhc2RX4Y0RVouSHGvqh6+WliG4R+1+HPK9xADOw9AiEAgCRy/s1RYgg0tBkWXEtL8CxD6MKzuSdRCjXNZIs8ta4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"5fb29dc856774e0e5c596d27a259e921d984ab40","gitHead":"bbc6b847c2b25a8f024e857dcbb8400a7d5145c5","scripts":{"test":"jshint *.js dust/"},"_npmUser":{"name":"philidem","email":"phillip.idem@gmail.com"},"repository":{"url":"https://github.com/raptorjs3/marko-layout.git","type":"git"},"_npmVersion":"1.4.28","description":"Layout taglib for marko","directories":{},"dependencies":{"raptor-dust":"^1.1.2","raptor-util":"^1.0.0","raptor-polyfill":"^1.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"jshint":"^2.5.0"}},"1.2.3":{"name":"marko-layout","version":"1.2.3","keywords":["marko-taglib","marko","layout"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"Apache License v2.0","_id":"marko-layout@1.2.3","maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"}],"homepage":"https://github.com/raptorjs/marko-layout","bugs":{"url":"https://github.com/raptorjs/marko-layout/issues"},"dist":{"shasum":"30cc90a0411f3a500c9821af8ade937b1141f6ee","tarball":"https://registry.npmjs.org/marko-layout/-/marko-layout-1.2.3.tgz","integrity":"sha512-O7+V0j71G7Qc7RcfT85lq3RSiQJS7yZglmoJoccC5OoMfOpdH/jHt9AKzVopajMXBGNW3XhSHyapAtXwR8m20A==","signatures":[{"sig":"MEQCIAVMUOp/h99hpNTvrUo7FnRYc9LQDYMRHtOnn7skP2VnAiA7Oxfdx7hcWmHUzJ+bPSVUTHJRbqDJyRiCUcpWoed69w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"30cc90a0411f3a500c9821af8ade937b1141f6ee","gitHead":"36238a2056905a12938462a3e0a25c5128edcd5e","scripts":{"test":"jshint *.js dust/"},"_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"repository":{"url":"https://github.com/raptorjs/marko-layout.git","type":"git"},"_npmVersion":"2.0.2","description":"Layout taglib for marko","directories":{},"_nodeVersion":"0.10.32","dependencies":{"raptor-dust":"^1.1.2","raptor-util":"^1.0.0","raptor-polyfill":"^1.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"jshint":"^2.5.0"}},"1.2.4":{"name":"marko-layout","version":"1.2.4","keywords":["marko-taglib","marko","layout"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"Apache License v2.0","_id":"marko-layout@1.2.4","maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"}],"homepage":"https://github.com/raptorjs/marko-layout","bugs":{"url":"https://github.com/raptorjs/marko-layout/issues"},"dist":{"shasum":"d0a91019b722284aae56d4eeb231b34bde32e5f9","tarball":"https://registry.npmjs.org/marko-layout/-/marko-layout-1.2.4.tgz","integrity":"sha512-OTBneadOkR9ilPeTWN6XO+Tulvrye6M7otqA+/ZcR6lkE/hcRMnogbahME2+BkUGYn9S5BJiQmC3k1MINYjrBw==","signatures":[{"sig":"MEYCIQDiDXEqgeUbtLcos1pnTaSE582HKHbVuWrLL4iEmLQS2AIhANn90IqwU77TlOHsM4gbGNViJ7Y0q5OQkR9nUMtv1ET6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"d0a91019b722284aae56d4eeb231b34bde32e5f9","gitHead":"0285d1388c44e6e3e61fc5145888290e0a77735b","scripts":{"test":"jshint *.js dust/"},"_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"repository":{"url":"https://github.com/raptorjs/marko-layout.git","type":"git"},"_npmVersion":"2.0.2","description":"Layout taglib for marko","directories":{},"_nodeVersion":"0.10.32","dependencies":{"raptor-dust":"^1.1.2","raptor-util":"^1.0.0","raptor-polyfill":"^1.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"jshint":"^2.5.0"}},"1.2.5":{"name":"marko-layout","version":"1.2.5","keywords":["marko-taglib","marko","layout"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"Apache License v2.0","_id":"marko-layout@1.2.5","maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"}],"homepage":"https://github.com/raptorjs/marko-layout","bugs":{"url":"https://github.com/raptorjs/marko-layout/issues"},"dist":{"shasum":"ffab2a76038777bdbd5ab459e6eb9c82f1604768","tarball":"https://registry.npmjs.org/marko-layout/-/marko-layout-1.2.5.tgz","integrity":"sha512-Il14hv7UAYn0N37c3x1MhvDGsI4kto1AjeR8eUUf6U+jTT3z1c+/vRrEYZzGmXZUHY1vnW6NTrB+7b3StNNv+Q==","signatures":[{"sig":"MEUCIBnFYezhQt4uUy2ONXOBrYIXeazpjjF6O07qSKXTSkobAiEAuysV1aic8GTJpVlW+KRlfPPbpcKQuLlfDntI6iNqLaA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"ffab2a76038777bdbd5ab459e6eb9c82f1604768","gitHead":"06b57713b76140a70b1c6269a7a8b9dca5228754","scripts":{"test":"jshint *.js dust/"},"_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"repository":{"url":"https://github.com/raptorjs/marko-layout.git","type":"git"},"_npmVersion":"2.0.2","description":"Layout taglib for marko","directories":{},"_nodeVersion":"0.10.32","dependencies":{"raptor-dust":"^1.1.2","raptor-util":"^1.0.0","raptor-polyfill":"^1.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"jshint":"^2.5.0"}},"2.0.0":{"name":"marko-layout","version":"2.0.0","keywords":["marko-taglib","marko","layout"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"Apache License v2.0","_id":"marko-layout@2.0.0","maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"}],"homepage":"https://github.com/raptorjs/marko-layout","bugs":{"url":"https://github.com/raptorjs/marko-layout/issues"},"dist":{"shasum":"ed7c143cb58e6e7033bdee6b97d749e0ee23acdd","tarball":"https://registry.npmjs.org/marko-layout/-/marko-layout-2.0.0.tgz","integrity":"sha512-V7EWQ5Z5RFoKZVeAcfmL3Q4SLwd95a7Yk0QiFVpOASDMyqanq5W65A04QzlzrbkI/XgF+zetc+o/JfRtBCcfUA==","signatures":[{"sig":"MEUCIQCNtmc5HwCkFK/lo3xkl+qcFcTmr+Z+kQL9snlPiHVRlwIgdYwq9Lbq43c5EwnMELrUkcxRUjeW1EeQJNoJvJIdP5w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"ed7c143cb58e6e7033bdee6b97d749e0ee23acdd","gitHead":"8b36383e302b426fe4e4ebb1554a7f9d9704fdd3","scripts":{"test":"jshint *.js dust/"},"_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"repository":{"url":"https://github.com/raptorjs/marko-layout.git","type":"git"},"_npmVersion":"1.4.28","description":"Layout taglib for marko","directories":{},"dependencies":{"raptor-dust":"^1.1.2","raptor-util":"^1.0.0","raptor-polyfill":"^1.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"jshint":"^2.5.0"}},"1.2.6":{"name":"marko-layout","version":"1.2.6","keywords":["marko-taglib","marko","layout"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"Apache License v2.0","_id":"marko-layout@1.2.6","maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"}],"homepage":"https://github.com/raptorjs/marko-layout","bugs":{"url":"https://github.com/raptorjs/marko-layout/issues"},"dist":{"shasum":"f12f3bc1a49b46337ab6c232fcc71727767711d6","tarball":"https://registry.npmjs.org/marko-layout/-/marko-layout-1.2.6.tgz","integrity":"sha512-wqFa94KzzJiP5hC3Hx4efsAkjzM6NEyQJpjHqDB2Zcmd0W4iMLLgrqy71rqdiwOp2fnY5iJcJ96FqLyh50/ndQ==","signatures":[{"sig":"MEYCIQDeL0RjF3CYmirVVQaC6l6Eqsat4yL0rcAeZPHIs6B8RAIhAOqg17JQsJI9aqGq5GAcfReJigGSeoonu1eidPkcfU/z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"f12f3bc1a49b46337ab6c232fcc71727767711d6","gitHead":"d1610ed190fd21faf2601193b7587a776009fef2","scripts":{"test":"jshint *.js dust/"},"_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"repository":{"url":"https://github.com/raptorjs/marko-layout.git","type":"git"},"_npmVersion":"1.4.28","description":"Layout taglib for marko","directories":{},"dependencies":{"raptor-dust":"^1.1.2","raptor-util":"^1.0.0","raptor-polyfill":"^1.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"jshint":"^2.5.0"}},"2.0.1":{"name":"marko-layout","version":"2.0.1","keywords":["marko-taglib","marko","layout"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"Apache License v2.0","_id":"marko-layout@2.0.1","maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"}],"homepage":"https://github.com/marko-js/marko-layout","bugs":{"url":"https://github.com/marko-js/marko-layout/issues"},"dist":{"shasum":"43b70b9c18f5ad75fb37f71d0c162fc8fe4f44da","tarball":"https://registry.npmjs.org/marko-layout/-/marko-layout-2.0.1.tgz","integrity":"sha512-GhIqWlN/tYZFkKGiLopGmEaUwy7Y1H+vsYZQdov4r3gK1DTTi4ttcw7oo+OBqSeCg/8bmK3P9dMNlnr5cVJAvw==","signatures":[{"sig":"MEUCIQDIWCZ4qb21FnW/rpLDx7N3UJceo1Kq7oMevMP+dXVGdgIgBJZmtsdgBdIW4oIenCzbwYqlPcrM0RvLT8frwQMWMKQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"43b70b9c18f5ad75fb37f71d0c162fc8fe4f44da","gitHead":"ae1be3469a791b04a1d231fbae77751d56a323aa","scripts":{"test":"jshint *.js dust/"},"_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"repository":{"url":"https://github.com/marko-js/marko-layout.git","type":"git"},"_npmVersion":"1.4.28","description":"Layout taglib for marko","directories":{},"dependencies":{"raptor-dust":"^1.1.2","raptor-util":"^1.0.0","raptor-polyfill":"^1.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"jshint":"^2.5.0"}},"2.0.2":{"name":"marko-layout","version":"2.0.2","keywords":["marko-taglib","marko","layout"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"Apache License v2.0","_id":"marko-layout@2.0.2","maintainers":[{"name":"pnidem","email":"pnidem@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"}],"homepage":"https://github.com/marko-js/marko-layout","bugs":{"url":"https://github.com/marko-js/marko-layout/issues"},"dist":{"shasum":"3ec63ac583428f0c558668f400dd7e8bbfbb5e3f","tarball":"https://registry.npmjs.org/marko-layout/-/marko-layout-2.0.2.tgz","integrity":"sha512-mLRXyAO3zq3L1mAt4pDEi8UBxC//kZfUFOpPPMLfDVaUH7RsswyAFKhK/Gmdsx1nhiiQ4C9TjS/YcIGom0W89w==","signatures":[{"sig":"MEYCIQDl/bWQtiCtjCwwFsF6yE09ltjy8UJzR1q4FMJwp8R98QIhAMKrKb3KG3AeD2V1B0mqCjeWacHTwu1+oRjxI+KybdWz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"3ec63ac583428f0c558668f400dd7e8bbfbb5e3f","gitHead":"6460c0f14ad47616e644b00e3ebe35d548c3bd4f","scripts":{"test":"jshint *.js dust/"},"_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"repository":{"url":"https://github.com/marko-js/marko-layout.git","type":"git"},"_npmVersion":"1.4.28","description":"Layout taglib for marko","directories":{},"dependencies":{"raptor-dust":"^1.1.2","raptor-util":"^1.0.0","raptor-polyfill":"^1.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"jshint":"^2.5.0"}}},"time":{"created":"2014-09-19T17:46:28.381Z","modified":"2024-11-20T15:18:17.934Z","1.1.0":"2014-09-19T17:46:28.381Z","1.2.0":"2014-09-19T17:49:02.486Z","1.2.1":"2014-09-22T18:00:05.880Z","1.2.2":"2014-09-26T15:07:17.531Z","1.2.3":"2014-10-03T05:02:19.779Z","1.2.4":"2014-10-15T16:26:18.392Z","1.2.5":"2014-10-29T00:05:27.785Z","2.0.0":"2015-02-23T23:38:45.625Z","1.2.6":"2015-02-24T23:07:58.674Z","2.0.1":"2015-07-24T17:55:23.643Z","2.0.2":"2015-08-20T16:49:21.338Z"},"bugs":{"url":"https://github.com/marko-js/marko-layout/issues"},"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"Apache License v2.0","homepage":"https://github.com/marko-js/marko-layout","keywords":["marko-taglib","marko","layout"],"repository":{"url":"https://github.com/marko-js/marko-layout.git","type":"git"},"description":"Layout taglib for marko","maintainers":[{"email":"lukelavalva@gmail.com","name":"lulavalva"},{"email":"npm@ti.gt","name":"tigt"},{"email":"rturnq@gmail.com","name":"ryanturnquist"},{"email":"pierceydylan@gmail.com","name":"dylanpiercey"},{"email":"ryansolid@gmail.com","name":"ryansolid"},{"email":"ml.rawlings@gmail.com","name":"mlrawlings"},{"email":"agliga4@gmail.com","name":"agliga"},{"email":"pnidem@gmail.com","name":"pnidem"},{"email":"phillip.idem@gmail.com","name":"philidem"},{"email":"austinlkelleher@gmail.com","name":"austinkelleher"}],"readme":"marko-layout\n============\n\nThis module provides the builtin `layout` taglib for Marko. The `layout` taglib provides support for separating out an HTML layout from content. A layout a just a normal Marko template with placeholders that allow for additional content to be provided by another template.\n\n# Example\n\nExample usage of of the `layout` taglib is shown in the sample code below:\n\n_default-layout.marko:_\n\n```xml\n<!doctype html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <title><layout-placeholder name=\"title\"/></title>\n</head>\n<body>\n    <h1 if=\"data.showHeader !== false\">\n        <layout-placeholder name=\"title\"/>\n    </h1>\n    <p>\n        <layout-placeholder name=\"body\"/>\n    </p>\n    <div>\n        <layout-placeholder name=\"footer\">\n            Default Footer\n        </layout-placeholder>\n    </div>\n</body>\n</html>\n```\n\n_Usage of `default-layout.marko`:_\n\n```xml\n<layout-use template=\"./default-layout.marko\" show-header=\"$true\">\n    <layout-put into=\"title\">My Page</layout-put>\n    <layout-put into=\"body\">BODY CONTENT</layout-put>\n</layout-use>\n```\n\n# Defining a layout\n\nA layout is just a standard Marko template with special `<layout-placeholder>` tags.\n\n## `<layout-placeholder>`\n\nSupported attributes:\n\n- **name** - The name to assign to the placeholder (required)\n\nEach `<layout-placeholder>` tag should be assigned a name using the `name` attribute.\n\nEach placeholder can have default content that is shown if no content for the placeholder is provided by the caller. The default content (if any) should be provided as nested content as shown below:\n\n```xml\n<layout-placeholder name=\"footer\">\n    This is the default content for the \"footer\" placeholder. If\n    no \"footer\" content is provided by the caller then this content will\n    be rendered.\n</layout-placeholder>\n```\n\nThe user of a layout template can provide content for a placeholder using the `<layout-put>` tag (described later).\n\n# Using a Layout\n\n## `<layout-use>`\n\nThe `<layout-use>` tag is used to render a layout template with content being provided by the caller.\n\nSupported attributes:\n\n- **template** - The path to the layout template or a JavaScript expression that resolves to a loaded template instance.\n- Any remaining attributes can be used to provide additional data to the layout template (described later)\n\nExample:\n\n```xml\n<layout-use template=\"./default-layout.marko\" show-header=\"$true\">\n    ...\n</layout-use>\n```\n\n## `<layout-put>`\n\nThe `<layout-put>` tag is used to provide layout content.\n\nSupported attributes:\n\n- **into** (required) - The name to of the placeholder that the content should replace\n- **value** (optional) - The content that should be used. If not provided the layout content for the corresponding placeholder should be provided as nested content.\n\nIf nested content is provided then it will be used the content for the corresponding placeholder.\n\nExample usage:\n\n```xml\n<layout-put into=\"title\">My Page</layout-put>\n```\n\nAlternatively, the content can be provided using the `value` attribute as shown below:\n\n```xml\n<layout-put into=\"title\" value=\"My Page\"/>\n```\n\n# Layout Data\n\nAdditional data can be provided to a layout template by the caller. Data is separate from content and be used to control how the layout renders. Layout data will be accessible as properties in the standard `data` variable. Any additional attributes other than the \"template\" attribute that are provided to the `<layout-use>` tag are used to pass additional data to a layout template.\n\nThe example below shows a `showHeader` option can be passed to a layout template to control how the header content renders:\n\n_default-layout.marko:_\n\n```xml\n<!doctype html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <title><layout-placeholder name=\"title\"/></title>\n</head>\n<body>\n    <h1 if=\"data.showHeader !== false\">\n        <layout-placeholder name=\"title\"/>\n    </h1>\n    ...\n</body>\n</html>\n```\n\n_Usage of `default-layout.marko`:_\n\n```xml\n<layout-use template=\"./default-layout.marko\" show-header=\"$true\">\n    ...\n</layout-use>\n```\n\n_NOTE: All data attributes will be de-hyphenated and converted to camel case (e.g., `show-header` will be accessible via the `showHeader` property on the `data` object)._\n","readmeFilename":"README.md"}