appernetic / hugo-nederburg-theme

Nederburg is a fast and secure hugo theme and is a port of the Tracks WP theme
Other
106 stars 86 forks source link

Flickr #61

Open Cultura-Difusa opened 5 years ago

Cultura-Difusa commented 5 years ago

Hi there!

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

Thanks in advance!!

appernetic commented 5 years ago

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

MatthewMcD commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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!