|
1 year ago | |
---|---|---|
src | 3 years ago | |
.babelrc | 3 years ago | |
.eslintignore | 3 years ago | |
.eslintrc.js | 3 years ago | |
.flowconfig | 3 years ago | |
.gitignore | 3 years ago | |
.npmignore | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
package.json | 1 year ago | |
schema.json | 3 years ago | |
yarn.lock | 1 year ago |
Static event page generator using handlebar.js
yarn add event-page
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'],
});