Implemented support for conditional links

Now, the <<if>> command works with links. The generated code is still far
from optimal, but it's already working okay.