This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
middleman--middleman
Watch
1
Star
0
Fork
You've already forked middleman--middleman
0
mirror of
https://github.com/middleman/middleman.git
synced
2022-11-09 12:20:27 -05:00
Code
Releases
Activity
fc37ef9b99
middleman--middleman
/
middleman-core
/
fixtures
/
asset-hash-host-app
/
source
/
stylesheets
/
site.css.scss
4 lines
70 B
SCSS
Raw
Normal View
History
Unescape
Escape
Extension to add hash values to asset filenames. This extension causes asset file types (images, scripts, stylesheets, etc) to have a unique identifier appended to their filename that consists of a hash of their contents. This extension also includes a Rack middleware that rewrites references to these assets in HTML, JavaScript, and CSS files, eliminating the need to use special helper functions to include modified filenames in references.
2012-03-04 18:24:38 -05:00
#
main
{
padding
:
50
px
;
Tests for using asset_host with asset_hash
2012-04-01 21:05:20 -04:00
background-image
:
image-url
(
'
100px.jpg
'
)
;
Extension to add hash values to asset filenames. This extension causes asset file types (images, scripts, stylesheets, etc) to have a unique identifier appended to their filename that consists of a hash of their contents. This extension also includes a Rack middleware that rewrites references to these assets in HTML, JavaScript, and CSS files, eliminating the need to use special helper functions to include modified filenames in references.
2012-03-04 18:24:38 -05:00
}
Copy permalink