Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/de-souza/hugo-flex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'post/emoji-support/index.html')
-rw-r--r--post/emoji-support/index.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/post/emoji-support/index.html b/post/emoji-support/index.html
new file mode 100644
index 0000000..ab8b24e
--- /dev/null
+++ b/post/emoji-support/index.html
@@ -0,0 +1,3 @@
+<!doctype html><html lang=en><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="Guide to emoji usage in Hugo"><meta name=generator content="Hugo 0.104.3"><title>Emoji Support | Hugo Themes</title><link rel=canonical href=/hugo-flex/post/emoji-support/><link rel=stylesheet href=/hugo-flex/css/base.min.23cd48cee155498cf8a6f89152dd9fda2bd56047a4845068f7927636fd0c454f.css integrity="sha256-I81IzuFVSYz4pviRUt2f2ivVYEekhFBo95J2Nv0MRU8=" crossorigin=anonymous></head><body><nav class=u-background><div class=u-wrapper><ul class=Banner><li class="Banner-item Banner-item--title"><a class="Banner-link u-clickable" href=/hugo-flex/>Hugo Themes</a></li><li class=Banner-item><a class="Banner-link u-clickable" href=/hugo-flex/about/>About</a></li><li class=Banner-item><a class="Banner-link u-clickable" href=/hugo-flex/post/>Posts</a></li><li class=Banner-item><a class="Banner-link u-clickable" href=/hugo-flex/tags/>Tags</a></li><li class=Banner-item><a class="Banner-link u-clickable" href=/hugo-flex/categories/>Categories</a></li><li class=Banner-item><a class="Banner-link u-clickable" href=/hugo-flex/index.xml>RSS</a></li></ul></div></nav><main><div class=u-wrapper><div class=u-padding><article><header class=Heading><h2 class=Heading-title><a class="Heading-link u-clickable" href=/hugo-flex/post/emoji-support/ rel=bookmark>Emoji Support</a></h2><time datetime=2019-03-05T00:00:00Z>5 March, 2019</time></header><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&rsquo;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 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-html data-lang=html><span style=display:flex><span>.emoji {
+</span></span><span style=display:flex><span> font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
+</span></span><span style=display:flex><span>}</span></span></code></pre></div><style>.emojify{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}}</style><footer><ul class=Tags><li class="Tags-item u-background"><a class="Tags-link u-clickable" href=/hugo-flex/tags/emoji/ rel=tag>emoji</a></li></ul></footer></article></div></div></main><footer class=Footer><div class=u-wrapper><div class=u-padding>Except where otherwise noted, content on this site is licensed under a <a href=http://creativecommons.org/licenses/by/4.0/ rel=license>Creative Commons Attribution 4.0 International License</a>.</div></div></footer></body></html> \ No newline at end of file