Add badge filtering and shop category to the site

- Introduced a new 'shops' category in the build script and README.
- Implemented badge filtering in the filter functionality, allowing users to filter entries by badge.
This commit is contained in:
2026-01-25 23:37:20 +01:00
parent 2519520e1b
commit cfb35a3c38
6 changed files with 59 additions and 7 deletions

View File

@@ -33,10 +33,13 @@ The generated site will be in the `dist/` folder.
Create a Markdown file in the appropriate `content/` subfolder:
- `content/products/` - Swedish products
- `content/services/` - Swedish services
- `content/experiences/` - Swedish experiences
- `content/manufacturers/` - Swedish manufacturers
| Folder | Category | Description |
|--------|----------|-------------|
| `content/products/` | Produkter | Physical Swedish products (e.g., Dalahäst, Orrefors glass) |
| `content/manufacturers/` | Tillverkare | Companies that design/manufacture products (e.g., Fjällräven, Hasselblad) |
| `content/shops/` | Butiker | Retail stores selling products (e.g., Göteborg Manufaktur) |
| `content/services/` | Tjänster | Service providers, both physical and digital (e.g., SJ, Mediaflow) |
| `content/experiences/` | Upplevelser | Experiences, events, and cultural activities (e.g., Icehotel, Midsommar) |
### Content Format