Add an extension method for conditionally rendering links

The condition determines whether or not the supplied text is hyperlinked or not.