Closed igufi closed 3 years ago
Hi @igufi, you can paste emoji (like this 👍) directly into the post and it works. More details at https://discourse.gohugo.io/t/emojis-in-hugo/2769/23
Thank you, I'll use the direct method going forward.
Any comment on the Twitter and LinkedIn parameter usage? I noticed that on your own site you have direct links back to LinkedIn and Twitter for each post? Is there a way to automate that or did you just manually add the links to each post in the front matter - if so, what is the syntax?
To add Twitter and LinkedIn links to posts, please add the following parameters to the header of your post.
+++
linkedin = "https://www.linkedin.com/posts/activity-xxxxxx/"
twitter = "https://twitter.com/mrmierzejewski/status/xxxx"
+++
I was wondering if you could expand the documentation to explain how to use the Linked and Twitter linking for individual posts (as seen in
posts/single.html
) and how to embed emojis to posts?For the emojis, I tried adding
enableEmoji = true
in the config and addingfont-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;
to the font-stack in the CSS but this does not seem to have the desired result (e.g. converting:heart:
in a post to ❤️) - would you have any suggestions?