Catch bad article data

...d also added check in the handlebars template to not print the header for the related pages if there are none

@kenkouot 
indentation seems off here