Thomas Reynolds
b950af89ac
Really prep
2016-03-22 16:04:00 -07:00
Thomas Reynolds
5a2f9c8ca6
Create a single default list of asset extensions. Add .ico to it. Fixes #1830 .
2016-03-22 15:43:48 -07:00
Thomas Reynolds
bca8b854dd
prep
2016-03-22 12:34:03 -07:00
Brad Gessler
179d6c0be4
Add extensions to asset_host extension.
2016-03-22 11:22:06 -07:00
Adam Heath
025e35f6a1
Fix asset_hash with content rule and uncommented CSS url
...
Fixes middleman/middleman#1852
2016-03-22 17:34:40 +08:00
FearGoidte
d461473f81
Added .xhtml
...
Fixes pretty U.R.L.s for xhtml files
2016-03-21 15:19:36 +00:00
Thomas Reynolds
8425692b86
Try to fix preview server config
2016-03-20 17:33:44 -07:00
Thomas Reynolds
aab7bac8a6
Apply CLI options later in process. Fixes 1843
2016-03-20 16:44:20 -07:00
Thomas Reynolds
7e42954258
Define a :config mode, dont run external pipeline on config mode. Fixes #1844
2016-03-20 16:31:15 -07:00
Gregory McIntyre
d539d4aa3d
Merge branch 'master' into fix/asset-url-and-relative-paths
2016-03-19 16:04:44 +11:00
Gregory McIntyre
0436c211c6
Fix asset_url and relative option bug.
...
If the relative option is set and the asset is stored in the directory
alongside the resource referencing it, asset_url produces the
wrong path ('../images/image.jpg' rather than just 'image.jpg').
2016-03-19 13:42:41 +11:00
Thomas Reynolds
dfa389bde4
bump
2016-03-17 14:47:14 -07:00
Thomas Reynolds
5337d0640b
Allow skipping sitemap. Helps #1837
2016-03-17 13:23:36 -07:00
Gregory McIntyre
563da9d45b
Fix bug with store rebuilding and proxy resources.
2016-03-16 12:22:13 +11:00
Thomas Reynolds
1f3bf47e3c
Expose all config options to CLIs. Helps with #1829
2016-03-12 13:55:25 -08:00
Greg Tarsa
fbc572f920
Ensure that misspelled or missing partials generate an error
2016-03-03 11:23:17 -05:00
Thomas Reynolds
737e6f5e64
expand_path on custom source directories. Fixes #1823
2016-03-02 12:54:14 -08:00
Thomas Reynolds
7b59f240d5
Fixes #1821
2016-03-02 12:00:39 -08:00
Thomas Reynolds
c44f7482b1
Fix #1822
2016-03-01 09:25:05 -08:00
Thomas Reynolds
e14107ba65
prep v4.1.2
2016-02-28 20:17:35 -08:00
Adam Heath
d883152e99
Add sourceMap comment to asset_hash and hash .map files by default
2016-02-26 08:46:00 +08:00
Thomas Reynolds
0d983231d0
Run helper after collections. Fixes #1226
2016-02-24 14:20:42 -08:00
Thomas Reynolds
edb1a53060
Add page_id concept
2016-02-22 11:17:21 -08:00
Thomas Reynolds
b695f6da1e
Fix #1028
2016-02-19 13:24:16 -08:00
Adam Heath
351003b4fe
Make build fail when external_pipeline fails
2016-02-18 12:41:48 +08:00
Steven Sloan
fc0f5d24d6
feat(data): allow for setting & getting Arrays through #store & #data_for_path
...
Seeing that in #touch_file that a value in data could be an Array or Hash, loosen contracts to allow for other storage & retrieval methods to set the same types. Array & Hash being allowable is strongly tied to what *could* be returned after passing through Util.recursively_enhance
[close #1803 ]
2016-02-17 17:20:24 -05:00
Melvin Lammerts
b7886aa14c
escape path in 404 (not found) page
...
This escapes the `path` variable using `escape_html` from `Rack::Utils` to prevent Cross-Site Scripting in 404 (Not Found) pages.
2016-02-15 23:42:05 +01:00
Jim Cushing
7bd417fad1
show version on middleman page
2016-02-04 20:44:39 -05:00
Jim Cushing
b1778a92cd
fix partials used with blocks
2016-02-03 16:56:12 -05:00
Thomas Reynolds
a2181a2fd9
Allow findup to be false
2016-02-03 09:57:30 -08:00
Thomas Reynolds
6de25dfd0e
Fix #1787
2016-02-02 18:49:14 -08:00
Thomas Reynolds
f596d8ebf5
bump
2016-02-02 13:11:53 -08:00
Thomas Reynolds
3f18efeed9
split up util module, fix some rubocop complaints
2016-01-31 14:13:52 -08:00
Thomas Reynolds
598d72480f
Fix slow server boot. It was recursing through node_modules and .git on initial boot
2016-01-28 16:45:54 -08:00
FearGoidte
13c351f2bf
Merge remote-tracking branch 'middleman/master'
2016-01-28 08:18:25 +00:00
FearGoidte
007c626d58
.xml removed from Gzip defaults
2016-01-28 08:16:23 +00:00
Jim Dalton
cc36267de5
Disable file watching completely when watcher_disable is true
2016-01-27 20:56:17 -08:00
FearGoidte
475fa41de0
Support for .xhtml
...
I’ve attempted to make support for .htm and .xhtml consistent.
Extensions are in alphabetical order to make it easier to compare them.
2016-01-27 09:48:36 +00:00
Thomas Reynolds
2bba7888b0
Fixes #1780
2016-01-26 13:47:27 -08:00
Thomas Reynolds
0c29fd4abf
Make templates extensions with layouts configurable
2016-01-26 13:21:39 -08:00
Thomas Reynolds
9553796731
Fix passing template locals down to partials. Helps #1753
2016-01-26 11:01:32 -08:00
Ben Hollis
8881389b42
Minify inline JS when there are other attributes.
2016-01-24 22:55:48 -08:00
Thomas Reynolds
e7d9c8ad0e
Fix a threading issue caused by parallel
2016-01-24 13:02:39 -08:00
Thomas Reynolds
deae5d2216
Fix #1778
2016-01-24 12:30:53 -08:00
Thomas Reynolds
c7a4618166
Perf work and Parallel builds
2016-01-22 15:57:07 -08:00
Thomas Reynolds
b8c0fd34e7
additional perf work
2016-01-22 14:25:02 -08:00
Thomas Reynolds
e0818e2118
remove debug code
2016-01-21 14:47:45 -08:00
Thomas Reynolds
4e8273295b
tweak some checksums, something slightly changed file output upstream
2016-01-21 10:50:44 -08:00
Thomas Reynolds
92d96f6604
typo
2016-01-21 10:19:52 -08:00
Jim Dalton
68127003b9
Add option for MM_DATA_DIR env var to define :data_dir default value
2016-01-20 21:11:03 -08:00