Emoji Support
Written: β’
π·οΈ Tags:
emoji β’
β Reading time: 1 minute
β Reading time: 1 minute
Emoji can be enabled in a Hugo project in a number of ways.
The emojify function can be called directly in templates or Inline Shortcodes.
To enable emoji globally, set enableEmoji to true in your siteβs configuration and then you can type emoji shorthand codes directly in content files; e.g.
The Emoji cheat sheet is a useful reference for emoji shorthand codes.
N.B. The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g.
.emoji {
font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
}About B. Kenneth Brown
Hey there! π My name is Kenneth, I'm a 26-year-old queer MΓ©tis
writer and FOSS web developer from Winnipeg, Manitoba and currently reside in Calgary,
Alberta. I'm currently studying to obtain a degree in Honours English at Mount Royal University.
I'm looking to help those that need web development work done, or searching for ideas and
management for their next content project.