{"action":"created","issue":{"url":"https://api.github.com/repos/koshevy/gulp-twig-php/issues/6","repository_url":"https://api.github.com/repos/koshevy/gulp-twig-php","labels_url":"https://api.github.com/repos/koshevy/gulp-twig-php/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/koshevy/gulp-twig-php/issues/6/comments","events_url":"https://api.github.com/repos/koshevy/gulp-twig-php/issues/6/events","html_url":"https://github.com/koshevy/gulp-twig-php/issues/6","id":226302360,"number":6,"title":"my files are empty after conversion","user":{"login":"sede1971","id":4677800,"avatar_url":"https://avatars1.githubusercontent.com/u/4677800?v=4","gravatar_id":"","url":"https://api.github.com/users/sede1971","html_url":"https://github.com/sede1971","followers_url":"https://api.github.com/users/sede1971/followers","following_url":"https://api.github.com/users/sede1971/following{/other_user}","gists_url":"https://api.github.com/users/sede1971/gists{/gist_id}","starred_url":"https://api.github.com/users/sede1971/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sede1971/subscriptions","organizations_url":"https://api.github.com/users/sede1971/orgs","repos_url":"https://api.github.com/users/sede1971/repos","events_url":"https://api.github.com/users/sede1971/events{/privacy}","received_events_url":"https://api.github.com/users/sede1971/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-04T14:37:05Z","updated_at":"2018-02-14T14:52:27Z","closed_at":"2017-09-14T11:23:01Z","author_association":"NONE","body":"I have a folder structure like this \r\nsrc/views/\r\n             default.twig\r\n             test.twig\r\n\r\nthe content of the files are \r\n`{# default.twig #}\r\n<!DOCTYPE html>\r\n<html>\r\n<head>\r\n    <meta charset=\"utf-8\"/>\r\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\"/>\r\n    <meta name=\"description\" content=\"A demo of how to use gulp-twig\"/>\r\n    <meta name=\"author\" content=\"Simon de Turck\"/>\r\n    <meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\r\n \r\n    <title>{{ title }}</title>\r\n \r\n</head>\r\n<body>\r\n<section>\r\n    {% block page %}{% endblock %}\r\n</section>\r\n</body>\r\n</html>`\r\n\r\nand \r\n`{# test.twig #}\r\n\r\n{% extends 'default.twig' %}\r\n\r\n{% block page %}\r\n<h1>Hello world</h1>\r\n{% endblock %}`\r\n\r\nwhen I launch the command, I see that the plugin found the templates and it creates my html files in the good folder but the files are empty\r\n\r\nDo I have missed something ?"},"comment":{"url":"https://api.github.com/repos/koshevy/gulp-twig-php/issues/comments/365630804","html_url":"https://github.com/koshevy/gulp-twig-php/issues/6#issuecomment-365630804","issue_url":"https://api.github.com/repos/koshevy/gulp-twig-php/issues/6","id":365630804,"user":{"login":"palmerdixon","id":4339750,"avatar_url":"https://avatars1.githubusercontent.com/u/4339750?v=4","gravatar_id":"","url":"https://api.github.com/users/palmerdixon","html_url":"https://github.com/palmerdixon","followers_url":"https://api.github.com/users/palmerdixon/followers","following_url":"https://api.github.com/users/palmerdixon/following{/other_user}","gists_url":"https://api.github.com/users/palmerdixon/gists{/gist_id}","starred_url":"https://api.github.com/users/palmerdixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palmerdixon/subscriptions","organizations_url":"https://api.github.com/users/palmerdixon/orgs","repos_url":"https://api.github.com/users/palmerdixon/repos","events_url":"https://api.github.com/users/palmerdixon/events{/privacy}","received_events_url":"https://api.github.com/users/palmerdixon/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T14:52:27Z","updated_at":"2018-02-14T14:52:27Z","author_association":"NONE","body":"having the same problem currently! Does anyone has a solution meanwhile?"}}
{"actor":{"display_login":"palmerdixon"}}