[[blog.archiveMenu]]

Available Since: V1.0.0

The blog.archiveMenu snippet is used to draw the blog archive menu as either a drop down list or an unordered list.

Note: The archive page must contain a blog.archive snippet with the byDate parameter set to `1` for the archiveMenu to function properly.

Parameter Description
include A comma separated list of blog categories to include in the archive, if not present then all categories are included.
asList Set to `1` to display the archive as a list or `0` to display the archive as a drop down menu; defaults to `0`.
wrapperTpl Template chunk to wrap the blog menu list in.
itemTpl The template chunk to format each menu item with.
class The optional class to apply to the wrapper ul; defaults to blogarchivemenu
archivePage The ID of the document that will be the archive page.

Default wrapperTpl Chunk

<ul [[+class]]>[[+items]]</ul>
Placeholder Description
class The CSS class to apply.
items The formatted menu items.

Default itemTpl Chunk

<li><a href="[[+link]]">[[+title]]</a></li>
Placeholder Description
link The link to the archive.
title The archive title.



TOP