Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add project tags for cms #4

Merged
merged 3 commits into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions public/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ collections:
widget: datetime
date_format: YYYY
time_format: false
- name: tags
label: Project Tags
widget: list
min: 1
max: 2
collapsed: false
field: { label: Project, name: project, widget: select, options: ["MMP", "LAMP"] }
- name: pubs
label: Publications
folder: src/content/publications
Expand Down Expand Up @@ -152,6 +159,13 @@ collections:
required: false
label: English File
widget: file
- name: tags
label: Project Tags
widget: list
min: 1
max: 2
collapsed: false
field: { label: Project, name: project, widget: select, options: ["MMP", "LAMP"] }
- name: news
label: News
identifier_field: pubDate
Expand Down
2 changes: 2 additions & 0 deletions src/content/people/advisor.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ startDate: "2024"
endDate: "2024"
institution: Brown University
link: https://www.brown.edu/academics/sociology/people/david-lindstrom
tags:
- MMP
---
2 changes: 2 additions & 0 deletions src/content/people/co-director-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ startDate: "2024"
endDate: "2024"
institution: Princeton University
link: https://sociology.princeton.edu/people/doug-massey
tags:
- MMP
---
2 changes: 2 additions & 0 deletions src/content/people/co-director-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ bio: Silvia Giorguli Saucedo is professor-researcher at the Center for
org: El Colegio de México (Colmex)
startDate: "2024"
endDate: "2024"
tags:
- MMP
---
2 changes: 2 additions & 0 deletions src/content/people/co-director-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ bio: Jéssica Natalie Nájera Aguirre is Professor-Researcher at the Center for
org: El Colegio de México (COLMEX)
startDate: "2024"
endDate: "2024"
tags:
- MMP
---
2 changes: 2 additions & 0 deletions src/content/people/co-director.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ startDate: "2024"
endDate: "2024"
institution: Universidad de Guadalajara
link: https://en.wikipedia.org/wiki/Jorge_G._Durand
tags:
- MMP
---
2 changes: 2 additions & 0 deletions src/content/people/consultant-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ bio: "Filiz Garip is Professor of Sociology and International Affairs at
org: Princeton University
startDate: "2024"
endDate: "2024"
tags:
- MMP
---
2 changes: 2 additions & 0 deletions src/content/people/consultant-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ bio: "Antonio Yúnez-Naude received his PhD in Economics from the London School
org: El Colegio de México (COLMEX)
startDate: "2024"
endDate: "2024"
tags:
- MMP
---
2 changes: 2 additions & 0 deletions src/content/people/consultant-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ bio: Georgetown University
org: Georgetown University
startDate: "2024"
endDate: "2024"
tags:
- MMP
---
2 changes: 2 additions & 0 deletions src/content/people/consultant-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ bio: "Karen Pren is a Survey Methodologist at the Houston Population Research
org: Rice University
startDate: "2024"
endDate: "2024"
tags:
- MMP
---
2 changes: 2 additions & 0 deletions src/content/people/consultant.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ bio: Fernando Riosmena is Professor of Sociology and Demography and Director of
org: University of Texas – San Antonio
startDate: "2024"
endDate: "2024"
tags:
- MMP
---
2 changes: 2 additions & 0 deletions src/content/people/data-coordinator.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ bio: "María Adela Angoa Pérez is a PhD candidate in Population Studies at El
org: El Colegio de México
startDate: "2024"
endDate: "2024"
tags:
- MMP
---
2 changes: 2 additions & 0 deletions src/content/people/project-coordinator.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ bio: Jenny Izbeth Flores Ortega obtained her doctorate in Public Policy from the
org: El Colegio de México
startDate: "2024"
endDate: "2024"
tags:
- MMP
---
2 changes: 2 additions & 0 deletions src/lib/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export interface PeopleData {
avatar: string
org: string
bio: string
tags: Array<string>
}

export interface PublicationData {
Expand Down Expand Up @@ -42,6 +43,7 @@ export interface FileData {
title: string
description?: string
version?: string
tags: Array<string>
cat: string
codebookType?: string
file?: string
Expand Down