| | |
| | | - Navigation items |
| | | - Pagination |
| | | - Multilingual |
| | | - RTL support |
| | | - Post Thumbnails (optional) |
| | | - 100⁄100 Google Lighthouse score |
| | | - Google Analytics (optional) |
| | |
| | | listDateFormat = "Jan 2" |
| | | ``` |
| | | |
| | | ### Read-more Links |
| | | You can enable read-more links for truncated posts by setting the `readMore = true`. The length of the preview is controlled by Hugo's `summarylength`. Read-more links are disabled by default. |
| | | ```toml |
| | | [params] |
| | | readMore = true |
| | | ``` |
| | | |
| | | ### Have a static page as a home page |
| | | If you prefer having a static page as your home page rather than a listing of the latest posts, then make sure you leave the `mainSections` parameter blank: |
| | | ```toml |
| | |
| | | ``` |
| | | 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 |
| | |
| | | |
| | | Anatole currently ships with support for some basic languages. Contributions for other language translations are welcome. |
| | | |
| | | ### RTL suppourt |
| | | |
| | | Anatole support RTL langauges and flip the whole theme for that. To enable the RTL mode for specific langauge it's enough to write the following code in the language params. |
| | | |
| | | ```toml |
| | | LanguageDirection = "rtl" |
| | | ``` |
| | | |
| | | |
| | | ### :100: Google Lighthouse score |
| | | |
| | | The theme is optimized to adhere to the requirements checked for in the Lighthouse Audit. On my [personal site](https://www.alexbilz.com) I was able to reach a perfect 100⁄100 score. |