hugo-nederburg-theme icon indicating copy to clipboard operation
hugo-nederburg-theme copied to clipboard

Flickr

Open Cultura-Difusa opened this issue 5 years ago • 5 comments

Hi there!

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

Thanks in advance!!

Cultura-Difusa avatar Apr 24 '19 23:04 Cultura-Difusa

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

appernetic avatar Jun 20 '19 11:06 appernetic

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.

MatthewMcD avatar Jul 30 '19 20:07 MatthewMcD

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)

moan0s avatar Sep 15 '19 19:09 moan0s

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>

MatthewMcD avatar Sep 15 '19 21:09 MatthewMcD

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!

moan0s avatar Sep 16 '19 07:09 moan0s