middleman 0.10.3 → 0.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/middleman/base.rb +1 -2
- data/lib/middleman/template/init.rbt +14 -2
- data/lib/middleman/template/views/stylesheets/site.css.sass +1 -2
- data/middleman.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.10.
|
1
|
+
0.10.4
|
data/lib/middleman/base.rb
CHANGED
@@ -4,15 +4,27 @@
|
|
4
4
|
|
5
5
|
# Helpers
|
6
6
|
helpers do
|
7
|
+
def some_helper(*args)
|
8
|
+
"Helping"
|
9
|
+
end
|
7
10
|
end
|
8
11
|
|
9
|
-
#
|
12
|
+
# Automatic sitemaps
|
10
13
|
# enable :slickmap
|
11
14
|
|
15
|
+
# Automatic image dimension calculations
|
16
|
+
# enable :automatic_image_sizes
|
17
|
+
|
12
18
|
# Build-specific configuration
|
13
19
|
configure :build do
|
14
20
|
# For example, change the Compass output style for deployment
|
15
|
-
# enable :
|
21
|
+
# enable :minify_css
|
22
|
+
|
23
|
+
# Minify Javascript on build
|
24
|
+
# enable :minify_javascript
|
25
|
+
|
26
|
+
# Shrink/smush PNG/JPEGs on build
|
27
|
+
# enable :smush_pngs
|
16
28
|
|
17
29
|
# Or use a different image path
|
18
30
|
# set :http_path, "/Content/images/"
|
data/middleman.gemspec
CHANGED