From 7cebfdb627626e5294610282e47497875097c675 Mon Sep 17 00:00:00 2001 From: Eric Park <me@ericswpark.com> Date: Mon, 29 Mar 2021 19:38:33 +0000 Subject: [PATCH] Allow users to re-define post section name (#172) --- README.md | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index a10b27a..4971ef8 100644 --- a/README.md +++ b/README.md @@ -165,6 +165,16 @@ ``` Put any content into the `_index.md` file located in the content directory. If you want, you can also have some static text and the posts below. In such case, simply keep the `mainSections = ["post"]` and put any static content in the `_index.md`. +### Rename post section +If you want to have a different post section identifier, such as `/blog`, you can specify the section name using `postSectionName`: + +```toml +[params] + postSectionName = "blog" +``` + +If the parameter is not set, it will default to `post`. + ### Show full post content on the home page If you prefer the full content of your posts to appear on the home page rather than a summary of each post, then set the parameter `fullPostContent` to `true`. ```toml -- Gitblit v1.10.0