Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emoji #22

Closed
AntoineSoetewey opened this issue Dec 29, 2021 · 5 comments
Closed

Emoji #22

AntoineSoetewey opened this issue Dec 29, 2021 · 5 comments

Comments

@AntoineSoetewey
Copy link
Contributor

Hello again,

I managed to make everything working, except emojis.

  • I added enableEmoji = true in config.toml
  • just in case (I don't know whether it is needed or not), I also added enableInlineShortcodes = true in config.toml
  • I then tried to add an emoji at the end of this page, but it's not showing as expected:

Screenshot 2021-12-29 at 11 21 24

  • I tried on other pages, without success

It is probably not a bug, but rather something I am missing.

Any idea how I could fix this?

Thanks in advance for your help.

Regards,
Antoine

@apvarun
Copy link
Owner

apvarun commented Jan 8, 2022

@AntoineSoetewey I tried the same thing and it works

Added enableEmoji=true in config.toml and This is a :smile: incontent/en/page/about.md

Emoji rendered in UI
image

Can you share which file you added the emoji and what was the content?

@AntoineSoetewey
Copy link
Contributor Author

AntoineSoetewey commented Jan 8, 2022

Thanks for trying on your side.

As you can see in my config.toml file (https://github.com/AntoineSoetewey/elsaetantoine/blob/master/config.toml#L65) I have added enableEmoji = true.

And I added This is a :smile: in the homepage (https://github.com/AntoineSoetewey/elsaetantoine/blob/master/content/_index.md) and in the histoire page (https://github.com/AntoineSoetewey/elsaetantoine/blob/master/content/histoire.md).

The emoji are not appearing in the pages: https://elsaetantoine.com/ & https://elsaetantoine.com/histoire/

Regards,
Antoine

@abhinavganguly1987
Copy link

abhinavganguly1987 commented Jan 26, 2022

Hello @AntoineSoetewey
the reason why you aren't getting the emojis being rendered is because you've defined the config at wrong line(i.e. line no 65).
Define it at line no 5, just below the theme name definition, and you should be good to go.

theme = "blist-hugo-theme"
enableEmoji = true

Cheers, 🍻 😊
Abhi .
elsa

@AntoineSoetewey
Copy link
Contributor Author

Thanks a lot !

@abhinavganguly1987
Copy link

You're welcome @AntoineSoetewey 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants