diff --git a/README.md b/README.md index ea489be..8bb894e 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,10 @@ theme = "code-editor" # rootlink specifies where Root in menu.html links to. If it's not set then baseurl will be used. ``` +In addition to the required settings, you can customize this theme using the following keys within `[params]`: + +* `codeeditor_menu_mostrecentposts`, defaults to `true`, whether to show the "Most recent posts" section within the menu + # Contributing Contributions are welcome. Please refer to the [contributions guidelines](https://github.com/aubm/hugo-code-editor-theme/blob/master/CONTRIBUTING.md) for more information. diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index e456a7f..1c3ee96 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -1,4 +1,5 @@