Linked archive page and made it work, added check