Skip to content

Commit

Permalink
fix use case tags and categories
Browse files Browse the repository at this point in the history
  • Loading branch information
russbiggs committed Jun 18, 2024
1 parent 77bb658 commit 21b8f8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions content/use-cases/global-burden-of-disease.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Global Burden of Disease"
tags = "health"
categories = "developer"
tags = ["health"]
categories = ["developer"]
featured_image = "/uploads/gbd-cover.png"
featured = "false"
+++
Expand Down
4 changes: 2 additions & 2 deletions static/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ collections:
preview: true
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Tags', name: 'tags', widget: 'select', options: ["api", "media", "community", "health"]}
- { label: 'Categories', name: 'categories', widget: 'select', options: ["developer"]}
- { label: 'Tags', name: 'tags', widget: 'select', multiple: true, options: ["api", "media", "community", "health"]}
- { label: 'Categories', name: 'categories', widget: 'select', multiple: true, options: ["developer"]}
- { label: 'Featured image', name: 'featured_image', widget: 'image'}
- { label: 'Featured?', name: 'featured', wdiget: 'boolean' }
- { label: 'Body', name: 'body', widget: 'markdown' }
Expand Down

0 comments on commit 21b8f8e

Please sign in to comment.