Inquisitive By Nature

Inquisitive By Nature

Thoughts on life, business and technology.

Emoji Support

Guide to emoji usage in Hugo

Hugo Authors

1-Minute Read

Desert Scene

Emoji can be enabled in a Hugo project in a number of ways.

Theemojifyfunction can be called directly in templates orInline Shortcodes.

To enable emoji globally, setenableEmojitotruein your site’sconfigurationand then you can type emoji shorthand codes directly in content files; e.g.


TheEmoji cheat sheetis 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;

Recent Posts



This theme was developed for Hugo static site generator.