-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add instagram link along with the other social header links. #25
Comments
Since @eueung is absent, I suggest you simply copy header.html to your root hugo install under layouts/partials/ - then edit it to include an appropriate Instagram parameter. It will need a matching change inside of your main config.toml. so in config.toml include something like You'll need to customize the CSS too, if you need something different for the 'social-link-ig' class... |
That's awesome thanks a lot @dixonge ! |
@dixonge actually won't that require overriding the Wil overriding header.html alone suffice? |
Yeah, actually - it looks like the |
Hm since this is quite a large amount of overriding it might make sense to add it to the theme directly instead of overriding half of it. I've no issue doing it but it kinda defeats the purpose of the theme. Do you have write access to the repo @dixonge ? I could submit a PR instead but it seems there's a fair bit of PRs open currently so the repo seems rather inactive. |
Jumping in a bit late here. However, the fix for this was simple. I know this repository is dead and not maintained but in case if anyone is still looking on how to achieve this, my Pull Request is here: #32 Let me know if you folks need further help with other social media handles. |
Hi @eueung @dudil . Love the theme and decided to use it for my travel blog. However, I'd like to have an instagram link alongside the existing social links (twitter, FB, medium, etc) and I think it'd be a useful addition for others too.
I'm referring to the different header partials (eg https://github.com/eueung/hugo-casper-two/blob/master/layouts/partials/header.html#L22). Would that be possible?
Cheers!
The text was updated successfully, but these errors were encountered: