Skip to content

Commit

Permalink
fixing title issue with affiliates, +spanish homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
EC2 Default User committed Aug 17, 2022
1 parent 2744b5f commit 2928814
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
File renamed without changes.
14 changes: 7 additions & 7 deletions admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ collections:
- label: "Affiliates"
name: "affiliates-en"
folder: "_affiliates"
slug: "{{title-en}}"
summary: "{{title-en}}"
slug: "{{title}}"
summary: "{{title}}"
create: true
editor:
preview: false
Expand Down Expand Up @@ -127,8 +127,8 @@ collections:
media_library:
config:
multiple: false
- { label: "Org Name (Spanish)", name: "title-es", widget: "string" }
- { label: "About (Spanish)", name: "body-es", widget: "markdown" }
- { label: "Org Name (Spanish)", name: "title", widget: "string" }
- { 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"
name: "resources"
Expand Down Expand Up @@ -203,8 +203,8 @@ collections:
- label: "Blog Spanish"
name: "blog-es"
folder: "_blog-es"
slug: "{{year}}-{{month}}-{{day}}-{{blog}}"
summary: "{{year}}-{{month}}-{{day}}-{{blog}}"
slug: "{{year}}-{{month}}-{{day}}-{{blog-en}}"
summary: "{{year}}-{{month}}-{{day}}-{{blog-en}}"
create: true
identifier_field: "title"
sortable_fields: ['date']
Expand All @@ -216,7 +216,7 @@ collections:
- { label: "Body (English)", name: "body", widget: "markdown", required: false }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: "Associated Group", name: "associated-group", widget: "relation", collection: "groupings", search_fields: ["group"], value_field: "group", multiple: true }
- { label: "Blog in English", name: "blog", widget: "relation", collection: "blog-en", search_fields: ["title"], value_field: "title"}
- { label: "Blog in English", name: "blog-en", widget: "relation", collection: "blog-en", search_fields: ["title"], value_field: "title"}
- label: "Staff Members"
name: "staff"
folder: "_staff"
Expand Down
6 changes: 3 additions & 3 deletions es/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: home
lang: es
title: Bienvenidos!
title: Bienvenido al sitio web de FCCAN!
header:
title: Bienvenidos!
text: Nuestra pagina web en español está en construcción
title: Bienvenido al sitio web de FCCAN!
text: La misión de FCCAN es crear una comunidad basada en la promoción de la justicia económica, social y medioambiental, la sostenibilidad, los derechos humanos y la paz para todos mediante la creación de coaliciones, el desarrollo de estrategias y acciones, y el apoyo a las organizaciones progresistas existentes.
---


Expand Down

0 comments on commit 2928814

Please sign in to comment.