From 4ace303b1331101c9ba40f7fc29ba689414f39a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Popovics=20Andr=C3=A1s?= Date: Thu, 15 Feb 2018 14:34:35 +0000 Subject: [PATCH] Update content-metadata.component.md (#2955) --- docs/content-metadata.component.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docs/content-metadata.component.md b/docs/content-metadata.component.md index 9e990a1762..3efe916499 100644 --- a/docs/content-metadata.component.md +++ b/docs/content-metadata.component.md @@ -140,29 +140,24 @@ The following config will result in one accordion group named "TRANSLATABLE_TITL As a more complex config, you can study the one below: ```json -... "content-metadata": { "presets": { "kittens": [ { "title": "GROUP-TITLE1-TRANSLATION-KEY", "items": [ - // We would like to show every property from the exif:exif aspect { "aspect": "exif:exif", "properties": "*" }, - // We would like to show the two properties (kitten:custom1, kitten:custom3) from the kitten:vet- records aspect { "aspect": "kitten:vet-records", "properties": [ "kitten:custom1", "kitten:custom3" ] }, - // We would like to show the owner:name property from the owner:parameters aspect { "aspect": "owner:parameters", "properties": [ "owner:name" ] }, - // We would like to show all the properties from the type kitten:kitten { "type": "kitten:kitten", "properties": [ "kitten:name", "kitten:color" ] @@ -172,7 +167,6 @@ As a more complex config, you can study the one below: { "title": "GROUP-TITLE2-TRANSLATION-KEY", "items": [ - // We would like to show the two properties (kitten:favourite-food, kitten:recommended-food) from the kitten:food aspect { "aspect": "kitten:food", "properties": [ "kitten:favourite-food", "kitten:recommended-food" ] @@ -181,11 +175,10 @@ As a more complex config, you can study the one below: } ] } -... ``` The end result of this config would be two accordion groups with the properties like this: -  + |GROUP-TITLE1-TRANSLATION-KEY| |---| |exif:param1|