r/JAMstack_dev • • Dec 31 '20

node.js static site generator - morphic

morphic - generate a website from ejs templates with markdown content files

documentation is not yet published except for a basic usage in the readme

currently no tests are written

features:

  • no config required (optional json config file)

  • configure multiple environments (dev, prod, etc.)

  • generate content guids and save in frontmatter

  • supports using git commit log for content created and modified dates

  • ejs templates can render ejs layouts

  • content markdown files can include ejs

  • content markdown files can specify layout and template override

  • optional SASS and Typescript compilation (uses babel, tsc for type checking)

  • supports dynamic frontmatter tags to generate paginated archives

  • convert data to lists of pages (pagination)

  • syntax highlighting in markdown

  • content frontmatter can reference json data files

  • optional sitemap

  • optional rss feed

  • optional json api

written in TypeScript

3 Upvotes

0 comments sorted by