You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Cian Butler 7316dd7d95
Merge pull request #14 from butlerx/dependabot/npm_and_yarn/handlebars-4.3.0
1 year ago
src add comments 3 years ago
.babelrc add flow 4 years ago
.eslintignore add initial implementation 4 years ago
.eslintrc.js use promises to manage async calls 4 years ago
.flowconfig add cli args 4 years ago
.gitignore add initial implementation 4 years ago
.npmignore clean up repo 4 years ago
LICENSE fix upgrade errors async 3 years ago
README.md Update README.md 4 years ago
package.json Bump eslint from 3.19.0 to 4.18.2 2 years ago
schema.json fix upgrade errors async 3 years ago
yarn.lock Bump handlebars from 4.1.2 to 4.3.0 1 year ago

README.md

Events Page

Static event page generator using handlebar.js

Installation

yarn add event-page

Usage

To build your page, from Command line run:

event-gen

or from node

const event = require('event-page');

event({
  title: "Amazing event",
  source: "source",
  output: {
    dir: "public",
    css: "main.css",
  }
  schema: "./schema.json",
  menu: [{
    title: "Home",
    url: ""
  }, {
    "title": "Speaker List",
    "url": "Speakers"
  }, {
    "title": "Call For Talks",
    "url": "CFT"
  }],
  theme: 'theme',
  helper: 'helpers',
  templates: 'templates',
  css: 'main.scss',
  static: [ 'js', 'fonts', 'images'],
});