diff --git a/config.toml b/config.toml index 0160a2bbae..d1ff252d2f 100644 --- a/config.toml +++ b/config.toml @@ -16,7 +16,24 @@ defaultContentLanguageInSubdir = false # Useful when translating. enableMissingTranslationPlaceholders = true -disableKinds = ["taxonomy", "taxonomyTerm"] +# Comment out to disable taxonomies in Docsy +# disableKinds = ["taxonomy", "taxonomyTerm"] + +# You can add your own taxonomies +[taxonomies] +tag = "tags" +category = "categories" + +[params.taxonomy] +# set taxonomyCloud = [] to hide taxonomy clouds +taxonomyCloud = ["tags", "categories"] + +# If used, must have same lang as taxonomyCloud +taxonomyCloudTitle = ["Tag Cloud", "Categories"] + +# set taxonomyPageHeader = [] to hide taxonomies on the page headers +taxonomyPageHeader = ["tags", "categories"] + # Highlighting config pygmentsCodeFences = true diff --git a/content/en/docs/Getting started/_index.md b/content/en/docs/Getting started/_index.md index 529f5c5579..5a3bbc79f9 100644 --- a/content/en/docs/Getting started/_index.md +++ b/content/en/docs/Getting started/_index.md @@ -1,4 +1,6 @@ --- +categories: ["Examples", "Placeholders"] +tags: ["test","docs"] title: "Getting Started" linkTitle: "Getting Started" weight: 2 diff --git a/content/en/docs/Getting started/example-page.md b/content/en/docs/Getting started/example-page.md index b6455f447d..0bdd56cfc4 100644 --- a/content/en/docs/Getting started/example-page.md +++ b/content/en/docs/Getting started/example-page.md @@ -1,4 +1,6 @@ --- +categories: ["Examples"] +tags: ["test", "sample", "docs"] title: "Example Page" linkTitle: "Example Page" date: 2017-01-05