Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/tastaturtier/someparts-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Leuchter <sandro.leuchter@dama.io>2020-02-12 17:06:47 +0300
committerSandro Leuchter <sandro.leuchter@dama.io>2020-02-12 17:06:47 +0300
commit433f4161cbc1e55e89768dcf4c145d60e4ba5c64 (patch)
treefaaf5bd8dc0bee57467bba84ebe6cf5ea873e05b
parentf4b4232820fdd97c0fed018ddb52ff8485899514 (diff)
N/A
-rw-r--r--README.md62
1 files changed, 34 insertions, 28 deletions
diff --git a/README.md b/README.md
index def3fcc..65b5eb9 100644
--- a/README.md
+++ b/README.md
@@ -112,10 +112,12 @@ The following predefined front matter variables are not supported. Please avoid
In order to deactivate tags and categories the following should be included in the ``config.yaml`` (or ``.toml`` or ``.json``) of your site:
- disableKinds:
- - taxonomy
- - taxonomyTerm
- - categories
+```
+disableKinds:
+ - taxonomy
+ - taxonomyTerm
+ - categories
+```
### Menu (Drop Down)
@@ -125,26 +127,28 @@ On the left of the navigation bar is a special item. It displays the text that i
If you want a dropdown menu under it configure it in the ``config.yaml`` (or ``.toml`` or ``.json``) of your site:
- params:
- dropdown:
- - entry1:
- url: /
- linktext: Overview
- - divider2:
- - entry3:
- url: https://dama.io/
- linktext: External Colorist
- - divider4:
- - entry6:
- url: /imprint/
- linktext: Imprint
- - entry7:
- url: /privacy/
- linktext: Privacy Policy
- - divider8:
- - entry9:
- url: /index.xml
- linktext: RSS
+```
+params:
+ dropdown:
+ - entry1:
+ url: /
+ linktext: Overview
+ - divider2:
+ - entry3:
+ url: https://dama.io/
+ linktext: External Colorist
+ - divider4:
+ - entry6:
+ url: /imprint/
+ linktext: Imprint
+ - entry7:
+ url: /privacy/
+ linktext: Privacy Policy
+ - divider8:
+ - entry9:
+ url: /index.xml
+ linktext: RSS
+```
The list of entries under dropdown will be used to construct te dropdown menu. Every entry that has no ``url`` or no ``linktext`` will be interpreted as an divider.
@@ -206,10 +210,12 @@ The following of the predefined front matter variables are not supported:
In order to deactivate tags and categories the following should be included in the ``config.yaml`` (or ``.toml`` or ``.json``) of your site:
- disableKinds:
- - taxonomy
- - taxonomyTerm
- - categories
+```
+disableKinds:
+ - taxonomy
+ - taxonomyTerm
+ - categories
+```
### Ressource (e.g. ``/orange/something.md``)
``_default`` (``single.html``)