Fix sidebar, header, and footer, and add regression test.

https://github.com/gollum/gollum/commit/0965269ee97257a9d6dbb4c29bdfac228db72507 in `rc` breaks the sidebar, header, and footer.
The alternative, I suppose, would be 
```ruby
! @header.formatted_data.strip.empty?
```