From 3d8b3d504980e154ca98295daa830be767485211 Mon Sep 17 00:00:00 2001 From: Alexander Bilz <mail@alexbilz.com> Date: Mon, 18 May 2020 18:41:23 +0000 Subject: [PATCH] 📝 Added additional documentation for mainSections parameter --- README.md | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/README.md b/README.md index 8060624..a394fe3 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,12 @@ Content-Security-Policy: base-uri 'self'; connect-src 'self'; default-src 'self'; frame-ancestors 'none'; font-src 'self' stackpath.bootstrapcdn.com; img-src 'self'; object-src 'none'; script-src 'self'; style-src 'self' stackpath.bootstrapcdn.com; Strict-Transport-Security: max-age=63072000; includeSubDomains; preload ``` - +### Configurable pagination section +You can configure the pages shown on the front page by altering the `mainSections` parameter: +```toml +[params] + mainSections = ["post", "docs"] +``` ## License Anatole is licensed under the [MIT license](https://github.com/lxndrblz/anatole/blob/master/LICENSE). -- Gitblit v1.10.0