{"push_id":1186414572,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"6d3b4a1f7db0a924cde7b033f4a95d01553cb11a","before":"ba34b784f8e89e185c3143ba740e8af46432da55","commits":[{"sha":"6d3b4a1f7db0a924cde7b033f4a95d01553cb11a","author":{"name":"Johann Hofmann","email":"3b8e10480754ba93523db5dc4626a5f001e54bb7@johann-hofmann.com"},"message":"Ignore underscored directories by default\n\nThis is something I've been meaning to do for a long time now.\n\nI would like to add consistency in how we deal with files and folders\nthat have a leading dot or underscore. This commit makes it so that both\nkinds are simply ignored by default when looking for documents to\ngenerate or assets to copy. I like to see those filenames as\nindication that the folders contain \"meta\" information.\n\nMy idea of a good site generator is that your source file structure is\nnot fundamentally different from the resulting file structure. You\nbasically end up with the same structure but \"enhanced\" by the site\ngenerator (e.g. by turning .md and .liquid files into .html files).\nIt is very useful to have an easy indicator like an underscore to show\nthat this file will be used in the generation process but will not be\nthere in the resulting site. You can now simply have a file called _data.json\nnext to your template or blog file.\n\nThe default post path has been changed to \"posts\".\nFor compatibility it is still possible to set your default post path to\n\"_posts\", however, you now have to do it explicitly in your .cobalt.yml.\n\nThis is good, as having _posts/blog-post.md generate to\n_posts/blog-post.html was just laughable.\n\nI will make PRs for that in all affected user pages.\n\n_layouts obviously stays the same. I changed the layout handling a\nbit, though. Layouts are now read from disk every time they are\nrequired. This needs a bit of optmization in the future but allows for\nbetter and more flexible layout specification.","distinct":true,"url":"https://api.github.com/repos/johannhof/cobalt.rs/commits/6d3b4a1f7db0a924cde7b033f4a95d01553cb11a"}]}
{"actor":{"display_login":"johannhof"}}