Skip to content

DRAFT: Person profiles - #609

Draft
maneesha wants to merge 8 commits into
mainfrom
person_profiles
Draft

DRAFT: Person profiles#609
maneesha wants to merge 8 commits into
mainfrom
person_profiles

Conversation

@maneesha

Copy link
Copy Markdown
Contributor

This is a draft PR - DO NOT MERGE.

This is a proof of concept for how we can use Hugo's content adapters to dynamically generate a person list and individual person profile pages from a json file. It only shows that is it possible to do so and does not account for what we want to display or how we want to display it. I'm putting in this PR only so that the source code lives somewhere other than my local machine.

This requires a file called people.json to be in the data folder. Currently, the file must have the following structure. This can change based on what we decide to display.

[
  {
    "id": 12345,
    "person_name": "Cheese Pizza",
    "person_email": "pizza@example.com",
    "github": "pizza100",
    "twitter": "",
    "orcid": "https://orcid.org/1234-5678-1234-5678",
    "bluesky": "",
    "url": "",
    "country": "",
    "iata": "",
    "latitude": "",
    "longitude": "",
    "badges": "13,7",
    "publish_profile": 1,
    "lesson_publication_consent": "unset",
    "instructor_activity_list": "2024-03-04-ABCD,2025-06-15-XYZ",
    "helper_activity_list": "2025-11-20-univ",
    "instructor": true,
    "maintainer": false,
    "trainer": true,
    "cldt": false
  },...]

@netlify

netlify Bot commented Feb 23, 2026

Copy link
Copy Markdown

Deploy Preview for carpentries-website ready!

Name Link
🔨 Latest commit 376b87e
🔍 Latest deploy log https://app.netlify.com/projects/carpentries-website/deploys/699cc2580611a200088307e8
😎 Deploy Preview https://deploy-preview-609--carpentries-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@maneesha
maneesha marked this pull request as draft February 23, 2026 21:10
@maneesha

Copy link
Copy Markdown
Contributor Author

We will not be ready to continue work on this until after our active status project.

@maneesha

Copy link
Copy Markdown
Contributor Author

Also note that the layouts are currently in this repo but when we are ready to use them we should move them to the theme repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant