summaryrefslogtreecommitdiff
path: root/wiki/features/collections.md
blob: 8a1fa79daac9af63f0b478804cfd32a199b3e18d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
title: "Collections"
date: "2024-10-10"
summary: "Collections parameters"
description: "Collections parameters"
toc: false
readTime: false
autonumber: true
math: false
showTags: false
---

Here are some parameters regarding collections, those apply to both the home displayed one and to the dedicated folder pages.

## Pagination

Specify the maximum number of posts per page.

```toml
[params]
paginationSize = 100
```

## Date Format

The date format can be tweaked with a format string.

```toml
[params]
listDateFormat = '2 Jan 2006'
```

## Summary Toggle

Summaries can be turned on and off with this setting.

```toml
[params]
listSummaries = true
```

## Hide List Date

To hide the dates on the list page, add the following to the frontmatter of the collection's `_index.md`:

```toml
[params]
showListDate = false
```