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.

README.md 669 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Events Page
  2. Static event page generator using handlebar.js
  3. ## Installation
  4. yarn add event-page
  5. ## Usage
  6. To build your page, from Command line run:
  7. event-gen
  8. or from node
  9. ```javascript
  10. const event = require('event-page');
  11. event({
  12. title: "Amazing event",
  13. source: "source",
  14. output: {
  15. dir: "public",
  16. css: "main.css",
  17. }
  18. schema: "./schema.json",
  19. menu: [{
  20. title: "Home",
  21. url: ""
  22. }, {
  23. "title": "Speaker List",
  24. "url": "Speakers"
  25. }, {
  26. "title": "Call For Talks",
  27. "url": "CFT"
  28. }],
  29. theme: 'theme',
  30. helper: 'helpers',
  31. templates: 'templates',
  32. css: 'main.scss',
  33. static: [ 'js', 'fonts', 'images'],
  34. });
  35. ```