{"action":"created","issue":{"url":"https://api.github.com/repos/spf13/hugo/issues/147","labels_url":"https://api.github.com/repos/spf13/hugo/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/spf13/hugo/issues/147/comments","events_url":"https://api.github.com/repos/spf13/hugo/issues/147/events","html_url":"https://github.com/spf13/hugo/issues/147","id":23641203,"number":147,"title":"Non-MD files in the content directory (like jpg's and png's) end up as html's","user":{"login":"RubenN","id":854450,"avatar_url":"https://avatars.githubusercontent.com/u/854450?v=3","gravatar_id":"","url":"https://api.github.com/users/RubenN","html_url":"https://github.com/RubenN","followers_url":"https://api.github.com/users/RubenN/followers","following_url":"https://api.github.com/users/RubenN/following{/other_user}","gists_url":"https://api.github.com/users/RubenN/gists{/gist_id}","starred_url":"https://api.github.com/users/RubenN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubenN/subscriptions","organizations_url":"https://api.github.com/users/RubenN/orgs","repos_url":"https://api.github.com/users/RubenN/repos","events_url":"https://api.github.com/users/RubenN/events{/privacy}","received_events_url":"https://api.github.com/users/RubenN/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spf13/hugo/labels/bug","name":"bug","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/spf13/hugo/milestones/5","labels_url":"https://api.github.com/repos/spf13/hugo/milestones/5/labels","id":761515,"number":5,"title":"v0.13","description":"","creator":{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":28,"state":"open","created_at":"2014-08-21T15:16:13Z","updated_at":"2014-12-08T21:26:27Z","due_on":"2014-09-25T07:00:00Z","closed_at":null},"comments":21,"created_at":"2013-12-03T13:08:19Z","updated_at":"2015-01-07T14:04:18Z","closed_at":null,"body":"When I put non-md files in the content directory, they should just be copied over (untouched!).\r\n  \r\nNow they end up as html's\r\n"},"comment":{"url":"https://api.github.com/repos/spf13/hugo/issues/comments/69025250","html_url":"https://github.com/spf13/hugo/issues/147#issuecomment-69025250","issue_url":"https://api.github.com/repos/spf13/hugo/issues/147","id":69025250,"user":{"login":"mrkishi","id":150237,"avatar_url":"https://avatars.githubusercontent.com/u/150237?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkishi","html_url":"https://github.com/mrkishi","followers_url":"https://api.github.com/users/mrkishi/followers","following_url":"https://api.github.com/users/mrkishi/following{/other_user}","gists_url":"https://api.github.com/users/mrkishi/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkishi/subscriptions","organizations_url":"https://api.github.com/users/mrkishi/orgs","repos_url":"https://api.github.com/users/mrkishi/repos","events_url":"https://api.github.com/users/mrkishi/events{/privacy}","received_events_url":"https://api.github.com/users/mrkishi/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T14:04:18Z","updated_at":"2015-01-07T14:04:18Z","body":"Any updates on the custom processors, as well? It's an idea that also interests me. For instance, one could optimize images on build.\r\n\r\nHonestly, I found the *content* folder somewhat misleading as it's not meant to hold arbitrary site content, but processable inputs.\r\n\r\nAlso, if we are to think them as *raw, unprocessed documents*, it makes sense that's the place we'd place related data, full resolution images and etc., as well. They would then be processed on build: charts generated, images resized and optimized, html generated. Of course, a pass-through processor is still a valid processor. :)\r\n\r\nAs not every file could (easily) have a front matter, @stou's file extensions idea seems like an acceptable solution for processor selection, if slightly magic. Some ideas of what may be possible:\r\n\r\n- `/content/articles/lengthy-research.md`: Article.\r\n- `/content/articles/lengthy-research/chart1.pngchart.json`: json to png charting.\r\n- `/content/articles/lengthy-research/image1.optim.png`: image optimization.\r\n- `/content/articles/lengthy-research/image2.optim-600x150.png`: image optimization and resizing.\r\n- `/content/articles/lengthy-research/image2.png`: pass-through?"}}