Publishes a link to the archive template for the current archive context. You may specify an alternate archive type with the “type” attribute to publish a different archive link.
archive_type(optional): Identifies the specific archive type to generate a link for. If unspecified, uses the current archive type in context, when publishing an archive template. Refer to the Archive Template Variables documentation for all archive types.
with_index(optional; default “0”): If specified, forces any index filename to be included in the link to the archive page.
When publishing an entry archive template, you can use the following tag to get a link to the appropriate Monthly archive template relevant to that entry (in other words, if the entry was published in March 2008, the archive link tag would output a permalink for the March 2008 archives).