capture content if `link_to` called with a content block

This tests and if a block is given, it is assumed the `link_to` is
a `capture_tag`.  The block will be called any any output captured.
Use this to nest erb in a `link_to`.