NLeSC / software.esciencecenter.nl

eStep website with projects software and people.
http://software.esciencecenter.nl
Other
4 stars 3 forks source link

software stub page passes validator, but causes docker image to fail to start #80

Closed nielsdrost closed 8 years ago

nielsdrost commented 8 years ago

If I create a "stub" software entry in a file called _software/amuse.md


---
name: AMUSE

---

This causes the following error:

Liquid Exception: undefined method `encoding' for nil:NilClass in _layouts/software.html
...error:
             Error: undefined method `encoding' for nil:NilClass
             Error: Run jekyll build --trace for more information.

However, the validator is just fine with my files.

Is there an example of a "minimal" software entry?

nielsdrost commented 8 years ago

software schema seems to imply only a name is enough:

     "required": ["name"],
sverhoeven commented 8 years ago

Template has been adjusted, so it can handle a document with only a name.