deploy: f65d96962b
This commit is contained in:
parent
256b43bef7
commit
3624ee4b9b
17 changed files with 17 additions and 17 deletions
|
@ -2,6 +2,6 @@
|
|||
<a href=/hugo-bearcub/blog/>Blog</a>
|
||||
<a href='mailto:me@example.com?subject=Reply%20to%20"Emoji%20Support"'>Email</a>
|
||||
<a href=/blog/index.xml>RSS</a>
|
||||
<a class=disabled href>pt-BR 🇧🇷</a></nav></header><main><h1>Emoji Support</h1><p><i><time datetime=2019-03-05 pubdate>2019-03-05</time></i></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 {
|
||||
<a class=disabled role=link aria-disabled=true>pt-BR 🇧🇷</a></nav></header><main><h1>Emoji Support</h1><p><i><time datetime=2019-03-05 pubdate>2019-03-05</time></i></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></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