deploy: fe5c892af5
This commit is contained in:
parent
c3f2672d06
commit
b4ed1e56af
5 changed files with 15 additions and 15 deletions
|
@ -6,4 +6,4 @@
|
|||
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main id=main-content><h1>Emoji Support</h1><p class=byline><time datetime=2019-03-05 pubdate>2019-03-05
|
||||
</time>· Hugo Authors</p><content><p>Emoji can be enabled in a Hugo project in a number of ways.</p><p>The <a href=https://gohugo.io/functions/emojify/><code>emojify</code></a> function can be called directly in templates or <a href=https://gohugo.io/templates/shortcode-templates/#inline-shortcodes>Inline Shortcodes</a>.</p><p>To enable emoji globally, set <code>enableEmoji</code> to <code>true</code> in your site’s <a href=https://gohugo.io/getting-started/configuration/>configuration</a> and then you can type emoji shorthand codes directly in content files; e.g.</p><p>The <a href=http://www.emoji-cheat-sheet.com/>Emoji cheat sheet</a> is a useful reference for emoji shorthand codes.</p><hr><p><strong>N.B.</strong> 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.</p><div class=highlight><pre tabindex=0 class=chroma><code class=language-html data-lang=html><span class=line><span class=ln>1</span><span class=cl>.emoji {
|
||||
</span></span><span class=line><span class=ln>2</span><span class=cl> font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
|
||||
</span></span><span class=line><span class=ln>3</span><span class=cl>}</span></span></code></pre></div></content><p><a class=blog-tags href=https://clente.github.io/hugo-bearcub/tags/emoji/>#Emoji</a></p><p><a href='mailto:me@example.com?subject=Reply%20to%20"Emoji%20Support"'>Reply to this post by email ↪</a></p></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>
|
||||
</span></span><span class=line><span class=ln>3</span><span class=cl>}</span></span></code></pre></div></content><p><a class=blog-tags href=https://clente.github.io/hugo-bearcub/tags/emoji/>#emoji</a></p><p><a href='mailto:me@example.com?subject=Reply%20to%20"Emoji%20Support"'>Reply to this post by email ↪</a></p></main><footer><small>John Doe (CC BY 4.0) | Made with <a href=https://github.com/clente/hugo-bearcub>Bear Cub</a></small></footer></body></html>
|
Loading…
Add table
Add a link
Reference in a new issue