dir to tag-links