hugo-nederburg-theme
hugo-nederburg-theme copied to clipboard
Flickr
Hi there!
I was wondering if there is a way to add Flickr social links easily.
Thanks in advance!!
Probably as easily as it is to check the code and implement it.. :-)
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.
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)
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>
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!