From 00c52d4a5d019ea064a169652b8cf01fb2a5a85d Mon Sep 17 00:00:00 2001 From: George Cushen Date: Wed, 29 Apr 2026 10:25:39 +0100 Subject: [PATCH] refactor(blox): rename collection -> content-collection --- modules/blox/blox/collection/manifest.json | 13 ------------- .../{collection => content-collection}/README.md | 0 .../{collection => content-collection}/block.html | 0 modules/blox/blox/content-collection/manifest.json | 13 +++++++++++++ .../{collection => content-collection}/preview.svg | 0 modules/blox/data/blox_aliases.yaml | 2 ++ 6 files changed, 15 insertions(+), 13 deletions(-) delete mode 100644 modules/blox/blox/collection/manifest.json rename modules/blox/blox/{collection => content-collection}/README.md (100%) rename modules/blox/blox/{collection => content-collection}/block.html (100%) create mode 100644 modules/blox/blox/content-collection/manifest.json rename modules/blox/blox/{collection => content-collection}/preview.svg (100%) diff --git a/modules/blox/blox/collection/manifest.json b/modules/blox/blox/collection/manifest.json deleted file mode 100644 index fcf9d464..00000000 --- a/modules/blox/blox/collection/manifest.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "id": "collection", - "name": "Collection", - "version": "1.0.0", - "license": "MIT", - "category": "content", - "tags": ["collection", "blog", "publications", "filter", "sort", "content-display", "archive"], - "description": "Display filtered and sorted collections of pages with customizable views and pagination", - "author": "Hugo Blox", - "homepage": "https://hugoblox.com/blocks/", - "repository": "https://github.com/HugoBlox/kit", - "keywords": ["hugo", "static-site", "content", "blog", "publications", "filtering"] -} diff --git a/modules/blox/blox/collection/README.md b/modules/blox/blox/content-collection/README.md similarity index 100% rename from modules/blox/blox/collection/README.md rename to modules/blox/blox/content-collection/README.md diff --git a/modules/blox/blox/collection/block.html b/modules/blox/blox/content-collection/block.html similarity index 100% rename from modules/blox/blox/collection/block.html rename to modules/blox/blox/content-collection/block.html diff --git a/modules/blox/blox/content-collection/manifest.json b/modules/blox/blox/content-collection/manifest.json new file mode 100644 index 00000000..8ee66459 --- /dev/null +++ b/modules/blox/blox/content-collection/manifest.json @@ -0,0 +1,13 @@ +{ + "id": "content-collection", + "name": "Content Collection", + "version": "1.1.0", + "license": "MIT", + "category": "content", + "tags": ["content-collection", "collection", "blog", "publications", "projects", "events", "docs", "filter", "sort", "archive", "cms"], + "description": "Dynamic block: query, filter, sort, paginate, and render any markdown content type (blog posts, publications, projects, events, docs, …) with selectable views", + "author": "Hugo Blox", + "homepage": "https://hugoblox.com/blocks/", + "repository": "https://github.com/HugoBlox/kit", + "keywords": ["hugo", "static-site", "content", "collection", "cms", "blog", "publications", "filtering"] +} diff --git a/modules/blox/blox/collection/preview.svg b/modules/blox/blox/content-collection/preview.svg similarity index 100% rename from modules/blox/blox/collection/preview.svg rename to modules/blox/blox/content-collection/preview.svg diff --git a/modules/blox/data/blox_aliases.yaml b/modules/blox/data/blox_aliases.yaml index 594c4338..0aaee404 100644 --- a/modules/blox/data/blox_aliases.yaml +++ b/modules/blox/data/blox_aliases.yaml @@ -15,3 +15,5 @@ renames: new: help-categories - old: trending-questions new: help-questions + - old: collection + new: content-collection