mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
08.14.2021 675cacac8408403a907e2937b3e485eeefe05b1c
exampleSite/content/post/emoji-support.md
@@ -15,8 +15,7 @@
<!--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>
@@ -29,22 +28,22 @@
{{< 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 >}}