Archive Block
Table of Contents
Archive page generator.
Something looks broken? We accept bounties to fix them faster.
^ | 323 Downloads |
---|---|
v2.3.5 | 223 Downloads |
v2.3.4 | 257 Downloads |
v2.3.3 | 107 Downloads |
v1.3.2 | 346 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:
[[archive]]
Advance Usage
Sorting
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"]]