I just forked the code and tried it out locally, when I click on the index page on certain links, I get this error
[MatchError: (DocumentLink(UkL0gMuvzYUANCpL,product,List(),-,true),None) (of class scala.Tuple2)]
Why is that happening?
An example is the document at http://localhost:9000/documents/UkL0gMuvzYUANCps/the-end-of-a-chapter-the-beginning-of-a-new-one
Add a not-found page for broken links
Thanks, look at the related pull request, it solves the problem. Broken links (links to unpublished documents) were not handled properly.