ionide / Fornax

Scriptable static site generator using type safe F# DSL to define page templates.
MIT License
241 stars 44 forks source link

Fornax generates a ghost file #90

Open oluwandabira opened 3 years ago

oluwandabira commented 3 years ago

Describe the bug Fornax is generating output for a generator with no generate function.

To Reproduce Steps to reproduce the behaviour:

  1. fornax new
  2. Delete everything in contact.fsx
  3. fornax build
  4. See contact.html generated with content in it.

Expected behaviour An error occurs, like say "Fornax couldn't detect a generator in this file" or something to that effect.

Environment (please complete the following information):