nunocoracao / blowfish

Personal Website & Blog Theme for Hugo
https://blowfish.page
MIT License
1.51k stars 416 forks source link

⚙️ Request: `users.json` adding field for `source` #850

Closed jamesbraza closed 8 months ago

jamesbraza commented 1 year ago

I am getting inspiration from the Users page, it's really useful!

When I find a site I like, my next step is to look at the source code. However, the current Users page doesn't have the source code linked. So I take the url, and attempt to see if it's open source on GitHub.

It would be cool if users.json had a source field that linked the repo, if the source code is publicly viewable somewhere.

[
  {
    "title": "nunocoracao.com",
    "url": "https://nunocoracao.com",
    "source": "https://github.com/nunocoracao/nunocoracao.com",
    "tags": [
      "Personal site",
      "Theme author"
    ]
  },
]
nunocoracao commented 1 year ago

@jamesbraza that's a good idea, need to check how that will work though - the current implementation makes the card a link to the site need to figure out how to have two links in the website - or if this would info would just be available in the file

nunocoracao commented 8 months ago

Hello @jamesbraza added the param in the JSON file. Will not be displayed for now as I don't have a good solution for that part but the link of whoever fills it in will be in the JSON sile.

check https://github.com/nunocoracao/blowfish/pull/1295/commits/893687d0d49e5acca3a6adc7a0cea0e218aff93a

jamesbraza commented 8 months ago

Thank you!