Skip to content

Commit

Permalink
Adding documentation around using the content_types hash to set
Browse files Browse the repository at this point in the history
path specific content type.
  • Loading branch information
Frederic Jean committed Jun 15, 2015
1 parent 92cff50 commit 25082a2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,14 @@ are (I'm looking at you Chrome!). Setting the `Cache-Control` or
that stand between them and your content will behave the way you want
them to. YMMV.

### Path Specific Content Type

You can now set the content type of a path through the
```s3_sync.content_types``` hash. This hasi will take precendence over
the content type discovered by the mime_types gem. The [associated pull
request](https://github.com/fredjean/middleman-s3_sync/pull/87) has a
few good examples on how to use this feature.

### ACLs

```middleman-s3_sync``` will set the resources's ACL to ```public-read``` by default. You
Expand Down

0 comments on commit 25082a2

Please sign in to comment.