forked from docpad/docpad
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v4.1.0. Feedr plugin now exposes feedr.feeds instead of feeds. Feedr,…
… Partials and Cachr plugins gain README.md and History.md files. Exchange data is now moved to the docpad-extras repo. Fixed broken balupton.docpad skeleton repo url.
- Loading branch information
Showing
12 changed files
with
292 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
## History | ||
|
||
- v0.1.0 March 23, 2012 | ||
- Initial working version for [Benjamin Lupton's Website](https://github.com/balupton/balupton.docpad) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Cachr Plugin for DocPad | ||
|
||
This plugin caches remote resources locally. | ||
|
||
|
||
## Usage | ||
|
||
To use, simply wrap any url you want to cache locally within the exposed `@cachr(url)` function inside your templates. | ||
|
||
- [CoffeeKup](http://coffeekup.org/) example: | ||
|
||
``` coffeescript | ||
img src:'http://somewebsite.com/someimage.gif' | ||
``` | ||
|
||
would become: | ||
|
||
``` coffeescript | ||
img src:@cachr('http://somewebsite.com/someimage.gif') | ||
``` | ||
|
||
- [Eco](https://github.com/sstephenson/eco) example: | ||
|
||
``` coffeescript | ||
<img src="http://somewebsite.com/someimage.gif"/> | ||
``` | ||
|
||
would become: | ||
|
||
``` coffeescript | ||
<img src="<%=@cachr('http://somewebsite.com/someimage.gif')%>"/> | ||
``` | ||
|
||
|
||
|
||
## History | ||
|
||
You can discover the history inside the `History.md` file | ||
|
||
|
||
## License | ||
|
||
Licensed under the [MIT License](http://creativecommons.org/licenses/MIT/) | ||
<br/>Copyright © 2012 [Bevry Pty Ltd](http://bevry.me) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## History | ||
|
||
- v0.2.0 April 6, 2012 | ||
- Now exposes `@feedr.feeds` to the `templateData` instead of `@feeds` | ||
|
||
- v0.1.0 March 23, 2012 | ||
- Initial working version for [Benjamin Lupton's Website](https://github.com/balupton/balupton.docpad) |
Oops, something went wrong.