summaryrefslogtreecommitdiffstats
path: root/exampleSite/content/post/emoji-support.md
diff options
context:
space:
mode:
authoramzrk22020-04-16 15:34:39 +0800
committeramzrk22020-04-16 15:34:39 +0800
commiteaa3a325e566cc084d30ba56f53ecb3f8e80d9ab (patch)
treeb0480b915ce26df5545aecd3b807a7fedef10eba /exampleSite/content/post/emoji-support.md
parentbbed6aaeab766901f9d425777a22ad3e767b7716 (diff)
downloadhugo-theme-fuji-eaa3a325e566cc084d30ba56f53ecb3f8e80d9ab.tar.gz
hugo-theme-fuji-eaa3a325e566cc084d30ba56f53ecb3f8e80d9ab.tar.bz2
hugo-theme-fuji-eaa3a325e566cc084d30ba56f53ecb3f8e80d9ab.zip
i18n support
Diffstat (limited to 'exampleSite/content/post/emoji-support.md')
-rw-r--r--exampleSite/content/post/emoji-support.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/exampleSite/content/post/emoji-support.md b/exampleSite/content/post/emoji-support.md
index 22d5344..9b43a3e 100644
--- a/exampleSite/content/post/emoji-support.md
+++ b/exampleSite/content/post/emoji-support.md
@@ -7,15 +7,15 @@ tags = [
]
+++
-Emoji can be enabled in a Hugo project in a number of ways.
-<!--more-->
-The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
+Emoji can be enabled in a Hugo project in a number of ways.
+
+The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
To enable emoji globally, set `enableEmoji` to `true` in your site’s [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g.
+```:s ee_no_evil:[Remove the space]``` :see_no_evil: ```:h ear_no_evil:[Remove the space]``` :hear_no_evil: ```:s peak_no_evil:[Remove the space]``` :speak_no_evil:
-<p><span class="nowrap"><span class="emojify">πŸ™ˆ</span> <code>:see_no_evil:</code></span> <span class="nowrap"><span class="emojify">πŸ™‰</span> <code>:hear_no_evil:</code></span> <span class="nowrap"><span class="emojify">πŸ™Š</span> <code>:speak_no_evil:</code></span></p>
-<br>
+<!--more-->
The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes.