{"action":"created","issue":{"url":"https://api.github.com/repos/sighjs/sigh/issues/4","labels_url":"https://api.github.com/repos/sighjs/sigh/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/sighjs/sigh/issues/4/comments","events_url":"https://api.github.com/repos/sighjs/sigh/issues/4/events","html_url":"https://github.com/sighjs/sigh/issues/4","id":95926857,"number":4,"title":"full-stack example","user":{"login":"tcurdt","id":13697,"avatar_url":"https://avatars.githubusercontent.com/u/13697?v=3","gravatar_id":"","url":"https://api.github.com/users/tcurdt","html_url":"https://github.com/tcurdt","followers_url":"https://api.github.com/users/tcurdt/followers","following_url":"https://api.github.com/users/tcurdt/following{/other_user}","gists_url":"https://api.github.com/users/tcurdt/gists{/gist_id}","starred_url":"https://api.github.com/users/tcurdt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcurdt/subscriptions","organizations_url":"https://api.github.com/users/tcurdt/orgs","repos_url":"https://api.github.com/users/tcurdt/repos","events_url":"https://api.github.com/users/tcurdt/events{/privacy}","received_events_url":"https://api.github.com/users/tcurdt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2015-07-19T16:03:53Z","updated_at":"2015-07-28T00:54:51Z","closed_at":null,"body":"Would be great to have a more complex real world example with support for\r\n\r\n* sass\r\n* less\r\n* browser-sync\r\n* source maps\r\n* templates (swig etc.)\r\n* markdown\r\n* sitemap.xml\r\n* react (jsx to js)\r\n"},"comment":{"url":"https://api.github.com/repos/sighjs/sigh/issues/comments/125397214","html_url":"https://github.com/sighjs/sigh/issues/4#issuecomment-125397214","issue_url":"https://api.github.com/repos/sighjs/sigh/issues/4","id":125397214,"user":{"login":"ohjames","id":97685,"avatar_url":"https://avatars.githubusercontent.com/u/97685?v=3","gravatar_id":"","url":"https://api.github.com/users/ohjames","html_url":"https://github.com/ohjames","followers_url":"https://api.github.com/users/ohjames/followers","following_url":"https://api.github.com/users/ohjames/following{/other_user}","gists_url":"https://api.github.com/users/ohjames/gists{/gist_id}","starred_url":"https://api.github.com/users/ohjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohjames/subscriptions","organizations_url":"https://api.github.com/users/ohjames/orgs","repos_url":"https://api.github.com/users/ohjames/repos","events_url":"https://api.github.com/users/ohjames/events{/privacy}","received_events_url":"https://api.github.com/users/ohjames/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T00:54:51Z","updated_at":"2015-07-28T00:54:51Z","body":"You pass in `post.swig` as like, the \"master\" template name? Then the other events I guess would be used for references `posts.swig` makes to other templates?\r\n\r\n```javascript\r\npipelines.blog = [\r\n  glob('*.md'),\r\n  collections({\r\n    posts: '*.md'\r\n  }),\r\n  merge(\r\n    feed('posts'),\r\n    [\r\n      glob('templates/*.swig'),\r\n      template('post.swig', {\r\n        collection: 'posts',\r\n        context: { ... }\r\n      })\r\n    ]\r\n  ),\r\n  write('build')\r\n]\r\n```"}}