github.com/rabbouni145/gg@v0.47.1/docs/content/en/functions/emojify.md (about) 1 --- 2 title: emojify 3 description: Runs a string through the Emoji emoticons processor. 4 godocref: 5 date: 2017-02-01 6 publishdate: 2017-02-01 7 lastmod: 2017-02-01 8 categories: [functions] 9 menu: 10 docs: 11 parent: "functions" 12 keywords: [strings,emojis] 13 signature: ["emojify INPUT"] 14 workson: [] 15 hugoversion: 16 relatedfuncs: [] 17 deprecated: false 18 --- 19 20 `emoji` runs a passed string through the Emoji emoticons processor. 21 22 See the [Emoji cheat sheet][emojis] for available emoticons. 23 24 The `emojify` function can be called in your templates but not directly in your content files by default. For emojis in content files, set `enableEmoji` to `true` in your site's [configuration][config]. Then you can write emoji shorthand directly into your content files; e.g. <code>I :</code><code>heart</code><code>: Hugo!</code>: 25 26 I :heart: Hugo! 27 28 29 [config]: /getting-started/configuration/ 30 [emojis]: http://www.emoji-cheat-sheet.com/ 31 [sc]: /templates/shortcode-templates/ 32 [scsource]: https://github.com/gohugoio/hugo/tree/master/docs/layouts/shortcodes