ionide / Fornax

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

Add a configuration file #33

Closed WalternativE closed 4 years ago

WalternativE commented 4 years ago

Addresses issue https://github.com/LambdaFactory/Fornax/issues/1

WalternativE commented 4 years ago

I'd propose this as a possible approach to have a config file for fornax. I looked into toml but didn't find it feasible to build the needed parts. @Krzysztof-Cieslak @pblasucci do you want to give feedback on my proposed changes? As far as I see you two thought the most about fornax configs.

I'm happy to adapt the current draft according to your feedback 😊

Krzysztof-Cieslak commented 4 years ago

Hey, this looks good to me.

Two small ideas for improvements:

WalternativE commented 4 years ago

Renaming _siteModel.yml makes a lot of sense. I'll change that. I think as a default ignoring stuff that starts with _ is a good idea. I know of the sass convention to use leading underscores for variable, mixin and other module files - these should be ignored anyway as they usually are referenced in the scss entry point file. I'll also look into that. 🙇‍♂️

Krzysztof-Cieslak commented 4 years ago

This will be handled differently in #40