{"action":"created","issue":{"url":"https://api.github.com/repos/docpad/docpad/issues/192","labels_url":"https://api.github.com/repos/docpad/docpad/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/docpad/docpad/issues/192/comments","events_url":"https://api.github.com/repos/docpad/docpad/issues/192/events","html_url":"https://github.com/docpad/docpad/issues/192","id":4342091,"number":192,"title":"Files like a.min.js in docuemnts are saved to a.min","user":{"login":"alFReD-NSH","id":822510,"avatar_url":"https://avatars.githubusercontent.com/u/822510?v=3","gravatar_id":"","url":"https://api.github.com/users/alFReD-NSH","html_url":"https://github.com/alFReD-NSH","followers_url":"https://api.github.com/users/alFReD-NSH/followers","following_url":"https://api.github.com/users/alFReD-NSH/following{/other_user}","gists_url":"https://api.github.com/users/alFReD-NSH/gists{/gist_id}","starred_url":"https://api.github.com/users/alFReD-NSH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alFReD-NSH/subscriptions","organizations_url":"https://api.github.com/users/alFReD-NSH/orgs","repos_url":"https://api.github.com/users/alFReD-NSH/repos","events_url":"https://api.github.com/users/alFReD-NSH/events{/privacy}","received_events_url":"https://api.github.com/users/alFReD-NSH/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docpad/docpad/labels/0%20-%20Suggested","name":"0 - Suggested","color":"02e10c"},{"url":"https://api.github.com/repos/docpad/docpad/labels/affects%20core","name":"affects core","color":"444444"},{"url":"https://api.github.com/repos/docpad/docpad/labels/difficulty%20hours","name":"difficulty hours","color":"d7e102"},{"url":"https://api.github.com/repos/docpad/docpad/labels/patches%20welcome","name":"patches welcome","color":"e102d8"},{"url":"https://api.github.com/repos/docpad/docpad/labels/type%20improvement","name":"type improvement","color":"02d7e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":36,"created_at":"2012-04-29T17:42:26Z","updated_at":"2015-07-18T02:39:49Z","closed_at":"2013-07-27T06:57:09Z","body":"Update: In case you got an error like following:\r\n\r\n> warning: Rendering the extension \"eco\" to \"html\" on \".../src/layouts/default.html.eco\" didn't do anything\r\n> Explanation here: http://docpad.org/extension-not-rendering\r\n\r\nIt might mean that you don't have the right plugin that renders the extension. Have a look at [plugins page](https://docpad.org/docs/plugins) to see how to find and install plugins.\r\n\r\n----------------\r\n\r\nThere are also things like jquery.a.b.min.js which will be saved to jquery.a. The issue comes from this part https://github.com/bevry/docpad/blob/master/lib/models/file.coffee#L369, where it takes only the first extension.\r\n\r\nI think the solution would be to push the extensions that can be rendered to a variable during render, and remove them from extensions. To do that, we need to make every rendering plugin to return a value that tells us that tells us that they have changed the content. So we remove the extension from the extensions variable."},"comment":{"url":"https://api.github.com/repos/docpad/docpad/issues/comments/122474533","html_url":"https://github.com/docpad/docpad/issues/192#issuecomment-122474533","issue_url":"https://api.github.com/repos/docpad/docpad/issues/192","id":122474533,"user":{"login":"balupton","id":61148,"avatar_url":"https://avatars.githubusercontent.com/u/61148?v=3","gravatar_id":"","url":"https://api.github.com/users/balupton","html_url":"https://github.com/balupton","followers_url":"https://api.github.com/users/balupton/followers","following_url":"https://api.github.com/users/balupton/following{/other_user}","gists_url":"https://api.github.com/users/balupton/gists{/gist_id}","starred_url":"https://api.github.com/users/balupton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balupton/subscriptions","organizations_url":"https://api.github.com/users/balupton/orgs","repos_url":"https://api.github.com/users/balupton/repos","events_url":"https://api.github.com/users/balupton/events{/privacy}","received_events_url":"https://api.github.com/users/balupton/received_events","type":"User","site_admin":false},"created_at":"2015-07-18T02:39:49Z","updated_at":"2015-07-18T02:39:49Z","body":"> This would reduce overhead and allow for issues to be consolidated in the consolidate plugin itself, which could have a plethora of helpers, utils, etc. to handle these issues, hence reducing these templating issues.\r\n\r\nIs https://github.com/robloach/docpad-plugin-consolidate helpful?\r\n\r\n\r\n\r\n> Also, considering that most of the community is moving towards ES6, React, webpack/browserify, I think featuring first-class support for React would be a great idea.\r\n\r\nWould be cool to see a babel plugin for sure!"}}