From a9c96151e0593be2c2984ee04d4cbf3a9ded9dae Mon Sep 17 00:00:00 2001 From: Alexander Eble <35292572+alexanderdavide@users.noreply.github.com> Date: Sun, 20 Jun 2021 19:22:56 +0000 Subject: [PATCH] Add Option for Main Section Heading (#216) --- README.md | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 2638ac0..a2d7da7 100644 --- a/README.md +++ b/README.md @@ -513,6 +513,9 @@ mainSections = ["post", "docs"] ``` +### _index.md and post section header +You can place custom content, by creating `_index.md` markdown file within the content directory. An example can be found [here](https://github.com/lxndrblz/anatole/blob/exampleSite/content/english/_index.md). Uncomment the section as needed. This file `_index.md` also has a parameter called `mainSectionsTitle`, which lets you specify a header for the posts on the main page. This header will be styled and placed always after the content of the `_index.md` it self. + ### Robots.txt If you want Hugo to generate a robots.txt, you will have to set the `enableRobotsTXT` in the `config.toml` to `true`. By default, a robots.txt, which allows search engine crawlers to access to any page, will be generated. It will look like this: -- Gitblit v1.10.0