Add feature to limit links

If using this module and having many pages, like 64000 or more, your html turns into "your html page with many links to the page". 
With my improvement, you can limit the number of links to pages.