Skip to content

Commit

Permalink
fixed cats on posts
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-101 committed Jul 7, 2018
1 parent c22168e commit 7a8d0ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ collections:
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Featured Image", name: "thumbnail", widget: "image", required: false}
- {label: "Category", name: "category", widget: "relation", collection: "blogcategories", searchFields: "name", valueField: "name", displayFields: "name", required: false}
- {label: "Tags", name: "category", widget: "relation", collection: "blogtags", searchFields: "name", valueField: "name", displayFields: "name", required: false}
- {label: "Tags", name: "tags", widget: "relation", collection: "blogtags", searchFields: "name", valueField: "name", displayFields: "name", required: false}
- {label: "Body", name: "body", widget: "markdown"}
- name: "page" # Used in routes, e.g., /admin/collections/blog
label: "Pages" # Used in the UI
Expand Down Expand Up @@ -72,7 +72,7 @@ collections:
fields:
- {label: Category Name, name: name, widget: string}
- {label: Description, name: description, widget: string}
- label: "Blog Tagss"
- label: "Blog Tags"
name: "blogtags"
format: 'json'
file: "content/categories/tags.json"
Expand Down

0 comments on commit 7a8d0ea

Please sign in to comment.