nanoc/nanoc-linking — pull request #1 by barraq (2014-03-24 13:41:20+00:00)
Title: Adding LinkTo helper methods

When customising LinkTo it is often handy to check:
- if a target is the one currently processed: current_target?(target)
- if a target is parent of the one currently processed: parent_target?(target)

This pull request add those two methods.

**link_to_unless_current(...)** method was updated to use *current_target?(target)*