mrmierzejewski / hugo-theme-console

A minimal, responsive and light theme for Hugo inspired by Linux console.
MIT License
393 stars 118 forks source link

Documentation missing on some of the features supported by the theme #12

Closed igufi closed 3 years ago

igufi commented 3 years ago

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 adding font-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?

mrmierzejewski commented 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

igufi commented 3 years ago

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?

mrmierzejewski commented 3 years ago

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"
+++