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

Imprt user stars and repos (See my implementation) #952

Open
arran4 opened this issue Jun 20, 2024 · 3 comments
Open

Imprt user stars and repos (See my implementation) #952

arran4 opened this issue Jun 20, 2024 · 3 comments
Labels

Comments

@arran4
Copy link

arran4 commented Jun 20, 2024

Describe the solution you'd like

I would like to dynamically import my stars and repos to the project. -- I have already done so, so copy the code if suitable?

Example:

However the issue is it doesn't look that great compared to the rest of it.

Describe alternatives you've considered

Or do it via JS.

Additional context

I was able to get it working for stars and repositories given the new feature: content adapters in v0.126.0:

https://gohugo.io/content-management/content-adapters/

You can see most of the work for repos in this comment:

arran4/arran4.github.io@4926212

The stars is basically the same but you want some minor differences between them.

@arran4
Copy link
Author

arran4 commented Jun 20, 2024

It does add a lot of time to the compilation though if you have a lot of stars. But it does make it a lot easier to find your stars.

@hossainemruz
Copy link
Member

hossainemruz commented Jun 20, 2024

Nice and useful idea. I need it for myself.

I think we need a separate card layout for it to make it look nicer. The card heading and footer are totally unnecessary for this. I will try to come up with something whenever I get some time. Thank you for sharing.

@arran4
Copy link
Author

arran4 commented Jun 21, 2024

Thanks. No problem. I ran out of time to make it "look good" but it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants