This website requires JavaScript.
Explore
Help
Sign In
deac
/
middleman
Watch
1
Star
0
Fork
You've already forked middleman
0
Code
Issues
Pull requests
Releases
Wiki
Activity
cdcd2bd42d
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-05 00:24:38 +01:00
#
main
{
padding
:
50
px
;
Tests for using asset_host with asset_hash
2012-04-02 03:05:20 +02: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-05 00:24:38 +01:00
}
Reference in a new issue
Copy permalink