How can I generate a list of pages?

Undraw Animating


This howto shows you how you can generate a list of pages with the iterator components.


Open your tag iterator component

In your document, begin by opening your tag compeonent:


Select your pages

Then add your page selection with the page sql.

We select the last 6 pages that have been modified.

<data>select from pages order by date_modified desc limit 6</data>

Define your fragment

Then define your fragment as being:

  * [[$path|$title]]

Close your iterator component and save

Write the closing tag and save your page.


The result

You obtain this result on this website.

Apply your layout

You can use any component to layout your pages.

For instance, you can add them in a grid:

How to generate and layout a list of pages with a grid and their image?

Showcase yourself and your brand

Get free news, tips, and tricks
to create a remarkable experience for your readers.

Recommended Pages
Undraw File Analysis 8k9b
All the metadatas that you can set for your pages

Page Metadata are page configuration. They are also known as: semantic data. or structured data The metadata can be seen and modified via the Metadata Manager. There is two groups of metadata:...
Undraw My Documents
ComboStrap - List

There are two type of classic list: ordered and unordered (also known as bullet list) The list syntax expects you to put each item in a single line. Input Output Input: Output: If you...

Task Runner