adding support for link blocks so links can be dynamic or static.