{"action":"created","issue":{"url":"https://api.github.com/repos/paularmstrong/swig/issues/390","labels_url":"https://api.github.com/repos/paularmstrong/swig/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/paularmstrong/swig/issues/390/comments","events_url":"https://api.github.com/repos/paularmstrong/swig/issues/390/events","html_url":"https://github.com/paularmstrong/swig/issues/390","id":25511049,"number":390,"title":"Including dynamic partials","user":{"login":"chielkunkels","id":141643,"avatar_url":"https://avatars.githubusercontent.com/u/141643?v=3","gravatar_id":"","url":"https://api.github.com/users/chielkunkels","html_url":"https://github.com/chielkunkels","followers_url":"https://api.github.com/users/chielkunkels/followers","following_url":"https://api.github.com/users/chielkunkels/following{/other_user}","gists_url":"https://api.github.com/users/chielkunkels/gists{/gist_id}","starred_url":"https://api.github.com/users/chielkunkels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chielkunkels/subscriptions","organizations_url":"https://api.github.com/users/chielkunkels/orgs","repos_url":"https://api.github.com/users/chielkunkels/repos","events_url":"https://api.github.com/users/chielkunkels/events{/privacy}","received_events_url":"https://api.github.com/users/chielkunkels/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-01-13T16:56:17Z","updated_at":"2015-07-08T16:34:42Z","closed_at":"2014-01-13T17:16:04Z","body":"Hello,\r\n\r\nI was wondering if I'm missing something or if it's simply not possible... I'm trying to include partials based on a variable given to the template.\r\n\r\n```\r\n{% include \"../blocks/_{{ block.type }}.html\" %}\r\n```\r\nthis throws an error because the `{{ block.type }}` is not being evaluated before the `{% include %}`... is there an alternate syntax for this, or some other way around it?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/paularmstrong/swig/issues/comments/119652025","html_url":"https://github.com/paularmstrong/swig/issues/390#issuecomment-119652025","issue_url":"https://api.github.com/repos/paularmstrong/swig/issues/390","id":119652025,"user":{"login":"conorluddy","id":846373,"avatar_url":"https://avatars.githubusercontent.com/u/846373?v=3","gravatar_id":"","url":"https://api.github.com/users/conorluddy","html_url":"https://github.com/conorluddy","followers_url":"https://api.github.com/users/conorluddy/followers","following_url":"https://api.github.com/users/conorluddy/following{/other_user}","gists_url":"https://api.github.com/users/conorluddy/gists{/gist_id}","starred_url":"https://api.github.com/users/conorluddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conorluddy/subscriptions","organizations_url":"https://api.github.com/users/conorluddy/orgs","repos_url":"https://api.github.com/users/conorluddy/repos","events_url":"https://api.github.com/users/conorluddy/events{/privacy}","received_events_url":"https://api.github.com/users/conorluddy/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T16:34:42Z","updated_at":"2015-07-08T16:34:42Z","body":"Cheers Paul, second method works perfectly."}}