Sha256: f93a7f7200eeba2d5d357e434ef984e75aa60cf0873682e4d0d987e1d468fade

Contents?: true

Size: 787 Bytes

Versions: 9

Compression:

Stored size: 787 Bytes

Contents

Assets
======

Spontaneous uses [Sprockets](https://github.com/sstephenson/sprockets)
to manage assets.

Place any stylesheet, javascript or images under "assets" (following any
structure that you like) and then during publishing Spontaneous will bundle,
compile, compress and fingerprint these files.

To reference assets within templates use the `asset_path` helper which will
intelligently translate Sprocket's "logical paths" into the compressed &
fingerprinted version.

Within SASS templates Sprockets provides a set of useful helpers including
`asset_url` and `asset_data_uri`.

(See: <https://github.com/sstephenson/sprockets/blob/master/lib/sprockets/sass_functions.rb>.)

For more information on using Sprockets see its [GitHub page](https://github.com/sstephenson/sprockets).

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta10 lib/spontaneous/generators/site/assets/README.md
spontaneous-0.2.0.beta9 lib/spontaneous/generators/site/assets/README.md
spontaneous-0.2.0.beta8 lib/spontaneous/generators/site/assets/README.md
spontaneous-0.2.0.beta7 lib/spontaneous/generators/site/assets/README.md
spontaneous-0.2.0.beta6 lib/spontaneous/generators/site/assets/README.md
spontaneous-0.2.0.beta5 lib/spontaneous/generators/site/assets/README.md
spontaneous-0.2.0.beta4 lib/spontaneous/generators/site/assets/README.md
spontaneous-0.2.0.beta3 lib/spontaneous/generators/site/assets/README.md
spontaneous-0.2.0.beta2 lib/spontaneous/generators/site/assets/README.md