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

feat: add sourcehut to socials #193

Open
freedomischaos opened this issue Aug 10, 2024 · 0 comments
Open

feat: add sourcehut to socials #193

freedomischaos opened this issue Aug 10, 2024 · 0 comments

Comments

@freedomischaos
Copy link

I used the commit posted for #182 as an example for writing a (s)crappy little icon for sourcehut (alternative github) - tried to mimic the github/gitlab syntax and put it around the same to have it earlier in the social icon listing.

They have a logo/media link - https://sourcehut.org/logo - if others might find it useful.

First time every messing with SVG/hacking hugo and I think it looks well enough for my lil website, but wasn't sure about making a PR as wanted someone to review what I did for the svg.

{{ if .Site.Params.sourcehut_url }}
    <a target="_blank" class="social" title="Sourcehut" href="{{ .Site.Params.sourcehut_url }}">
        <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1.2em" viewBox="0 0 24 24">
            <path fill="currentColor" d="M12 0.375C5.578 0.375 0.375 5.578 0.375 12s5.203 11.625 11.625 11.625 11.625 -5.203 11.625 -11.625S18.422 0.375 12 0.375m0 21c-5.18 0 -9.375 -4.195 -9.375 -9.375S6.82 2.625 12 2.625s9.375 4.195 9.375 9.375 -4.195 9.375 -9.375 9.375"/>
        </svg>
    </a>
{{ end }}

Thanks!

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

No branches or pull requests

1 participant