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

Flickr #61

Open
Cultura-Difusa opened this issue Apr 24, 2019 · 5 comments
Open

Flickr #61

Cultura-Difusa opened this issue Apr 24, 2019 · 5 comments
Labels
enhancement New feature or request

Comments

@Cultura-Difusa
Copy link

Hi there!

I was wondering if there is a way to add Flickr social links easily.

Thanks in advance!!

@appernetic
Copy link
Collaborator

Probably as easily as it is to check the code and implement it.. :-)

@appernetic appernetic reopened this Jun 20, 2019
@appernetic appernetic added the enhancement New feature or request label Jun 20, 2019
@MatthewMcD
Copy link
Contributor

I can add this, but with all of the icons enabled we'll run out of space and they will wrap. I can put in a comment that you may want to use them judiciously.

@moan0s
Copy link

moan0s commented Sep 15, 2019

How would I add an icon? e,g, remove pinterest and Google+ and add a Mastodon icon? I found the places in footer and topnavigation also all the stuff in single.html but did not know how to specify which icon to use (I did not find the icons at all)

@MatthewMcD
Copy link
Contributor

The theme does not use image files as icons. It uses Font Awesome. Look for lines like:
<i class="fas fa-envelope" title="email"></i>

@moan0s
Copy link

moan0s commented Sep 16, 2019

Thank you very, much! As the Mastodon logo was recently added to FontAwsome I was able to include it.
Short description what I did:
copy

theme/hugo-nederburg-theme/layouts/footer.html  
theme/hugo-nederburg-theme/layouts/topnavigation.html

to
layouts/
and
theme/hugo-nederburg-theme/layouts/_default/single.html
to
/layouts/_default/single.html
then I ran
sed -i "s/pinterest/mastodon/g" filname for all files at the new location. You can insert any already implemented social button e.g. facebook with this. This is also useful for changing the order of social networks.
Then simply add mastodon = "https://chaos.social/@heimdall" to the [params.social] in your config.toml
Have fun!

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

No branches or pull requests

3 participants