How to get permalink of Taxonomies in templates?

In the link I shared earlier, look at this line. Using that, I can use that terms.html tempalte for any taxonomy term… the .Type returns "tags", "categories", whatever.

… and then see how I use that $type in the site.GetPage in this line.