buhges

(beta) tool for build html pages of snippets and layers, supports mustache/handlebars templates

npm install buhges
12 downloads in the last month

buhges v0.0.3 (beta) NPM version

tool for build html pages of snippets and layers, supports mustache/handlebars templates

Installing

npm install buhges

Usage

project/
  │
  ├── layouts/
  │   ├── default.hbs
  │   └── etc.hbs
  │
  ├── pages/
  │   ├── default
  │   │   ├── index.hbs
  │   │   └── inner.hbs
  │   └── etc
  │       └── etc.hbs
  │
  └── snippets/
      ├── header
      │   ├── data
      │   │   └── nav.json
      │   ├── header.html {{>header}}
      │   └── nav.hbs {{>header_nav}}
      ├── content
      │   ├── news.html {{>content_new}}
      │   └── etc.hbs {{>content_etc}}
      └── footer
          └── footer.hbs {{>footer}}
$ buhges
project/
  │
  ├── index.html (layouts/default.hbs + pages/default/index.hbs)
  ├── inner.html (layouts/default.hbs + pages/default/inner.hbs)
  └── etc.html (layouts/etc.hbs + pages/etc/etc.hbs)

Contributing

TODO write

More Resources

Copyright 2013 «Emom team»

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

npm loves you