schildichat-website

This project builds schildi.chat using metalsmith.

Prepare build

yarn install

Build

make

Info about metalsmith

Info about handlebars

Plugins

Install plugins with

yarn install --dev <plugin-name>

in order to have them put into the devDependencies.

Used

Interesting, but currently unused

jstransformers

Those are used by metalsmith-in-place and metalsmith-layouts, in our case:

  • jstransformer-handlebars for handlebars
  • jstransformer-markdown-it for markdown

Which transformers to use is determined by file extension in order from right to left.
They can be used together (e.g. *.md.hbs for handlebars --> markdown --> html).