Skip to content

Please expose user information for User pages #149

@filbranden

Description

@filbranden

I'm trying to access information about the GitHub user from a User gh-pages template, information such as the full name, location, company, etc.

More specifically, I would like to see the fields in this response.

I tried looking at {% for user in site.github.organization_members %}, expecting that would be the one user that owns the User pages, but that's empty... Then I tried {% for user in site.github.contributors %}, but that only lists the base information (such as the username), which might be OK if I had access to making more API requests, but from gh-pages I really can't...

Can we expose a field that would be only valid on User pages and that would be populated with that response for the owner of that site?

NOTE: I'm happy to try to contribute, though Ruby isn't really my thing and I'm unsure of how to actually test this... If you can give me some pointers, I can try to hack something together to make this work.

Thanks!
Filipe

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions