diff --git a/config.js b/config.js index d11922fd5..2ab5d9080 100644 --- a/config.js +++ b/config.js @@ -28,6 +28,8 @@ module.exports = { historyMode: "history", cardViewMode: "cards", cardViewSort: "asc", + showKeywordsInItemCards: false, + showKeywordsInCatalogCards: false, showThumbnailsAsAssets: false, stacLint: true, geoTiffResolution: 128, diff --git a/docs/options.md b/docs/options.md index 8be02d277..d959f3553 100644 --- a/docs/options.md +++ b/docs/options.md @@ -36,6 +36,8 @@ The following ways to set config options are possible: * [maxPreviewsOnMap](#maxpreviewsonmap) * [cardViewMode](#cardviewmode) * [cardViewSort](#cardviewsort) +* [showKeywordsInItemCards](#showkeywordsinitemcards) +* [showKeywordsInCatalogCards](#showkeywordsincatalogcards) * [showThumbnailsAsAssets](#showthumbnailsasassets) * [defaultThumbnailSize](#defaultthumbnailsize) * [crossOriginMedia](#crossoriginmedia) @@ -244,6 +246,14 @@ The default sorting for lists of catalogs/collections or items. One of: - `"desc"`: descending sort - `null`: sorted as in the source files +## showKeywordsInItemCards + +Enables keywords in the lists of items if set to `true`. Defaults to `false`. + +## showKeywordsInCatalogCards + +Enables keywords in the lists of catalogs/collections if set to `true`. Defaults to `false`. + ## showThumbnailsAsAssets Defines whether thumbnails are shown in the lists of assets (`true`, default) or not. diff --git a/src/components/Catalog.vue b/src/components/Catalog.vue index 2db61511e..c6774519b 100644 --- a/src/components/Catalog.vue +++ b/src/components/Catalog.vue @@ -10,6 +10,7 @@ {{ format | formatMediaType }} {{ data.description | summarize }} + @@ -19,7 +20,7 @@ \ No newline at end of file + diff --git a/src/views/Catalog.vue b/src/views/Catalog.vue index c7617af2a..5a7ea23c0 100644 --- a/src/views/Catalog.vue +++ b/src/views/Catalog.vue @@ -9,7 +9,7 @@ - +