Make re-generation of website work

Description

"rake clean preview" works as expected, but automatic re-generation after changes to single files quickly raises exceptions.

1 2 3 4 5 6 7 8 9 10 11 12 13 undefined method `primary_page' for nil:NilClass Rendering file news/2016-01-26-bean-validation-2-0.md resulted in a failure. Line: unknown Backtrace: _layouts/news.html.haml:38:in `block (2 levels) in singleton class' _layouts/news.html.haml:37:in `each' _layouts/news.html.haml:37:in `block in singleton class' _layouts/news.html.haml:-6:in `instance_eval' _layouts/news.html.haml:-6:in `singleton class' _layouts/news.html.haml:-8:in `__tilt_7016361710

Environment

None

Status

Assignee

Unassigned

Reporter

Gunnar Morling

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Priority

Major