Skip to content

Commit

Permalink
Fixing affiliate layout and cms duplicate fields
Browse files Browse the repository at this point in the history
  • Loading branch information
EC2 Default User committed Aug 22, 2022
1 parent 344e4cd commit 5c1c61a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Barrier Busters, Grupo de Acción para el Tránsito Público
layout: affiliates
en-affiliate: Barrier Busters, Public Transit Action Group
---
Sobre el grupo
Expand Down
1 change: 1 addition & 0 deletions _affiliates/barrier-busters-public-transit-action-group.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Barrier Busters, Public Transit Action Group
layout: affiliates
---
## About Us

Expand Down
6 changes: 4 additions & 2 deletions admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ collections:
fields:
- { label: "Name (English)", name: "title", widget: "string" }
- { label: "Info (English)", name: "body", widget: "markdown" }
- { label: "Name (Spanish)", name: "title", widget: "string" }
- { label: "Info (Spanish)", name: "body", widget: "markdown" }
- { label: "Name (Spanish)", name: "title-es", widget: "string" }
- { label: "Info (Spanish)", name: "body-es", widget: "markdown" }
- { label: "Ordering", name: "ordering", widget: "select", options: ["important", "first", "neutral", "last"],default: ["neutral"] }
- label: "Affiliates"
name: "affiliates-en"
Expand All @@ -97,6 +97,7 @@ collections:
config:
multiple: false
- { label: "Org Name (English)", name: "title", widget: "string" }
- { label: 'Layout', name: 'layout', widget: 'hidden', default: 'affiliates' }
- { label: "About (English)", name: "body", widget: "markdown" }
- label: "Affiliates Spanish"
name: "affiliates-es"
Expand All @@ -115,6 +116,7 @@ collections:
config:
multiple: false
- { label: "Org Name (Spanish)", name: "title", widget: "string" }
- { label: 'Layout', name: 'layout', widget: 'hidden', default: 'affiliates' }
- { label: "About (Spanish)", name: "body", widget: "markdown" }
- { label: "Affiliate in English", name: "en-affiliate", widget: "relation", collection: "affiliates-en", search_fields: ["title"], value_field: "title"}
- label: "Resources"
Expand Down

0 comments on commit 5c1c61a

Please sign in to comment.