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 |
|
Ben Hollis
|
4a4454fcab
|
Introduce a cache tied to individual sitemap pages. This helps individual extensions avoid having to implement methods to clear the cache whenever a page changes.
|
2012-04-01 20:37:24 -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
|
92713dfe92
|
Make frontmatter always return a hash, and freeze it. This reduces the need for nil checks and prevents users from accidentally trying to modify frontmatter data which may be cached elsewhere.
|
2012-03-25 12:53:45 -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
|
bba2584c81
|
Merge pull request #308 from bhollis/master
Test showing variables not getting passed to templates during build
|
2012-03-12 10:14:00 -07:00 |
|
Ben Hollis
|
de92015085
|
Fix usage of a 1.9-only method in Sitemap::Page
|
2012-03-11 23:41:48 -07:00 |
|
Ben Hollis
|
c6c3021593
|
Fix issue #302
|
2012-03-11 23:33:46 -07:00 |
|
Ben Hollis
|
627b6c1462
|
A url helper that strips directory indexes
|
2012-03-04 23:26:30 -08: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
|
d483d8bc54
|
Memoize Sitemap::Page#destination_path
|
2012-02-09 09:39:24 -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
|
ca1f3ddf83
|
Directory indexes now work during build, with the exception of .htaccess files.
|
2012-02-02 21:47:54 -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 |
|
Eric Skogen
|
071acadb93
|
clarify the documentation regarding a page's "eponymous" directory
|
2012-01-16 16:29:02 -06: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
|
92319ebffc
|
support glob page instance vars. fixes #230
|
2012-01-05 21:18:55 -08:00 |
|
Thomas Reynolds
|
4ff52141df
|
port guard vendored libs
|
2012-01-02 14:22:24 -08:00 |
|
Thomas Reynolds
|
c8a134a386
|
split into middleman-core and middleman-more
|
2011-12-29 15:09:51 -08:00 |
|