Mecha CMS

Add extra functionality to the core engine.

Archive Block

Table of Contents
  1. Basic Usage 
  2. Advance Usage 
    1. Sorting 
    2. Folder Selection 
    3. Nesting Level 

Archive page generator.

Download Stable Version Download Development Version

Something looks broken? We accept bounties to fix them faster.

v2.3.5304 Downloads
v2.3.4297 Downloads
v2.3.3143 Downloads
v1.3.2346 Downloads

Use this extension to show all of the visible pages in a single page content as a link list.

Basic Usage 

Put this block in the desired page content you want to display the link list to:


Advance Usage 


By default, this extension will display the list of pages sorted ascending by its title. If you add time attribute with value true or a time pattern, then each list item will be completed with page publication time, and list order will be made based on the page publication time:

[[archive time="true"]]

[[archive time="%Y/%m/%d"]]

Folder Selection 

You can also limit the list output by determining the folder path relative to .\lot\page. This is useful for creating archive page by category:

title: Archive
description: Site archives by category.
author: Taufik Nurrohman
type: Markdown

### Articles

[[archive path="/article"]]

### Extensions

[[archive path="/store/extension"]]

Nesting Level 

The maximum recursion value is 4 by default, but you can specify another number. Determining value 0 will deactivate the recursive list feature:

[[archive deep="0"]]