node package manager

awscms

Awscms is a <a href="https://github.com/senchalabs/connect">Connect</a> middleware that serves <a href="https://github.com/wycats/handlebars.js">Handlebars</a> templates from an Amazon S3 bucket.

Awscms

Awscms is a Connect middleware that serves Handlebars templates from an Amazon S3 bucket.

Made by Matt Brennan at import•io.

npm install awscms

app.use.apply(app, Awscms.middleware({
prefix: '/awscms',
access-key-id: "",
secret-access-key: "",
bucket: "bucket-name"
}))
 
{{#extends "base"}}
{{> header}}
<ol>
{{#each list}}
<li>{{.}}
{{/each}}
</ol>
{{/extends}}
{
"list": [
"Is amazing",
"Will save your life"
]
}
<h1>Awscms</h1>
<!doctype html>
 
{{{body}}}

GET /awscms/page

Well, what do you think?

Awscms is released under the MIT licence. ©2013 import•io