Thomas Reynolds
|
d935aedd59
|
Sitemap refactor
|
2012-04-14 13:17:42 -07:00 |
|
Ben Hollis
|
fc79459e61
|
Fix the asset_hash extension to operate on the hash of the rendered output rather than just the source file. This prevents generating the same hash for a file when partials it uses change, or if a helper it uses produces different output. As part of this change I removed the caching from Sitemap::Page#destination_path and asset_hash since they were preventing recalculation of path/hash when partials changed, and I rewrote the Sprockets extension to expose the Sprockets environment to other extension, which included consolidating the JS and CSS Sprockets environments into one.
|
2012-04-04 00:00:33 -07:00 |
|
Thomas Reynolds
|
183e9d68f3
|
Implied extensions. Closes #304
|
2012-03-29 18:34:25 +01:00 |
|
Thomas Reynolds
|
e769477e93
|
Implied extensions. Closes #304
|
2012-03-29 18:22:43 +01:00 |
|
Ben Hollis
|
b2f6d0db09
|
Get rid of some unused stuff in sitemap and complete documentation
|
2012-03-26 21:40:30 -07:00 |
|
Ben Hollis
|
086f05989b
|
Fix ignore with a regex (with a test) and consolidate ignores into a single list of callbacks.
|
2012-03-24 20:45:17 -07:00 |
|
Ben Hollis
|
73350d6d05
|
Don't let people (or messed up code) accidentally create sitemap pages through the page method
|
2012-03-15 00:28:51 -07:00 |
|
Thomas Reynolds
|
5842bf8e5b
|
allow extensionless files to be previewed and built. fixes #270, but requires alternative layouts be placed in a layouts/ directory now.
|
2012-02-12 11:45:42 -08:00 |
|
Ben Hollis
|
39046ce029
|
Remove unused methods from Sitemap::Store. If these end up being needed again it'd be better to just filter the #pages list.
|
2012-02-10 23:36:06 -08:00 |
|
Ben Hollis
|
fdbd301a32
|
Get rid of Middleman::Sitemap::Store#all_paths and #each in favor of #pages. Dealing with page objects all over the place instead of paths provides a lot of opportunities for cleaner code.
|
2012-02-08 23:00:29 -08:00 |
|
Ben Hollis
|
e136fab77c
|
Use a page_by_destination lookup to make rerouting work both ways, in build and during preview server.
|
2012-02-04 23:07:02 -08:00 |
|
Ben Hollis
|
e27e0cdd44
|
Directory indexes work completely now, in preview and with dotfiles.
|
2012-02-03 00:29:07 -08:00 |
|
Ben Hollis
|
4ce6913baf
|
The beginnings of refactoring page rerouting. Added methods to Sitemap::Store and Sitemap::Page to collect and execute reroute callbacks, and rework builder to use page methods (simplifying it greatly in the process). All tests that don't involve directory indexes pass - next step is to make the directory index extension register its callbacks with Sitemap::Store#reroute.
|
2012-01-31 23:43:05 -08:00 |
|
Ben Hollis
|
a41bf57f2d
|
Clarify in the documentation what "path" means for Sitemap::Store and Sitemap::Page
|
2012-01-31 22:57:55 -08:00 |
|
Ben Hollis
|
2eec7e11ba
|
Refactor protected method normalize_path out of Sitemap::Store
|
2012-01-31 22:38:39 -08:00 |
|
Ben Hollis
|
1fc97d9d7b
|
A minor simplification of Sitemap::Store#path - it can no longer take a block
|
2012-01-31 22:15:45 -08:00 |
|
Thomas Reynolds
|
e3b15366cb
|
ignore globs, mostly working, except with directory indexes
|
2012-01-14 14:09:20 -08:00 |
|
Thomas Reynolds
|
0ac9c0b662
|
document sitemap, make ignore accept paths, regexps and blocks
|
2012-01-07 16:57:50 -08:00 |
|
Thomas Reynolds
|
c8a134a386
|
split into middleman-core and middleman-more
|
2011-12-29 15:09:51 -08:00 |
|