diff options
| author | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2021-06-30 01:22:12 +0200 |
|---|---|---|
| committer | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2021-06-30 01:23:18 +0200 |
| commit | 32d39a31c779bdced0941f21b3faf13ea13be5c5 (patch) | |
| tree | f4dc0ef11207e30bd53f2de5279c69281d196ef4 /exampleSite/content/post/emoji-support.md | |
| parent | b8dda716d04a20cdea12e89f5360947ddd68ad91 (diff) | |
Update exampleSite
Diffstat (limited to 'exampleSite/content/post/emoji-support.md')
| -rw-r--r-- | exampleSite/content/post/emoji-support.md | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/exampleSite/content/post/emoji-support.md b/exampleSite/content/post/emoji-support.md index 23311d3..dc3589a 100644 --- a/exampleSite/content/post/emoji-support.md +++ b/exampleSite/content/post/emoji-support.md @@ -12,8 +12,7 @@ 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). -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. - +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. <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> @@ -26,22 +25,22 @@ The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference {{< highlight html >}} .emoji { -font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols; + font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; } {{< /highlight >}} {{< css.inline >}} <style> .emojify { - font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols; + font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; font-size: 2rem; vertical-align: middle; } @media screen and (max-width:650px) { - .nowrap { - display: block; - margin: 25px 0; -} + .nowrap { + display: block; + margin: 25px 0; + } } </style> {{< /css.inline >}} |
