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

index.html Β« emoji-support - github.com/kc0bfv/ticky_tacky_dark.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 28810644f66bb25a3de730bb01ecb586eb86ac9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html lang="en-us">
    <head><meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Ticky Tacky Dark - Emoji Support</title>
<meta name="description" content="Guide to emoji usage in Hugo">
<meta name="author" content="Hugo Authors">
<link rel="icon" href="/ticky_tacky_dark/favicon.ico"><meta property="og:title" content="Emoji Support" />
<meta property="og:description" content="Guide to emoji usage in Hugo" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://kc0bfv.github.io/ticky_tacky_dark/emoji-support/" /><meta property="og:image" content="https://kc0bfv.github.io/ticky_tacky_dark/img/cool01.jpg" /><meta property="article:section" content="" />
<meta property="article:published_time" content="2019-12-08T00:00:00+00:00" />
<meta property="article:modified_time" content="2019-12-08T00:00:00+00:00" />

<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:image" content="https://kc0bfv.github.io/ticky_tacky_dark/img/cool01.jpg"/>

<meta name="twitter:title" content="Emoji Support"/>
<meta name="twitter:description" content="Guide to emoji usage in Hugo"/>


<meta name="robots" content="index,follow">
<meta name="referrer" content="origin-when-cross-origin">


<meta name="generator" content="Hugo 0.89.2" />

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<link rel="stylesheet" href="/ticky_tacky_dark/css/myscreen.css" type="text/css" media="screen">
<link rel="stylesheet" href="/ticky_tacky_dark/css/myprint.css" type="text/css" media="print">

<meta name="theme-color" content="black">

<link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet">

<noscript>
    <style>
        
            #headerimg {
                background-image: url(https://kc0bfv.github.io/ticky_tacky_dark/img/header01.jpg);
                background-size: cover;
            }
        
        
            #sideimage {
                background-image: url(https://kc0bfv.github.io/ticky_tacky_dark/img/cool01.jpg);
                background-size: cover;
            }
        
    </style>
</noscript>

<script>
    
    function randomHeaderImg() {
        let images = ["https://kc0bfv.github.io/ticky_tacky_dark/img/header01.jpg","https://kc0bfv.github.io/ticky_tacky_dark/img/header02.jpg"];
        let img_ind = Math.ceil(Math.random() * images.length) - 1;
        let sel_url = images[img_ind]
        let img = new Image();
        img.onload = function() {
            function set_img(old_onload) {
                let element = document.getElementById("headerimg");
                element.src = sel_url;
                if( old_onload ){ old_onload() }
            }
            if( document.readyState === "complete" ) { set_img() }
            else { window.onload = set_img(window.onload) }
        }
        img.src = sel_url;
    }
    randomHeaderImg();
    
    
    function randomSideImg() {
        let images = ["https://kc0bfv.github.io/ticky_tacky_dark/img/cool01.jpg"];
        let img_ind = Math.ceil(Math.random() * images.length) - 1;
        let sel_url = images[img_ind]
        let img = new Image();
        img.onload = function() {
            function set_img(old_onload) {
                let element = document.getElementById("sideimage");
                element.src = sel_url;
                if( old_onload ){ old_onload() }
            }
            if( document.readyState === "complete" ) { set_img() }
            else { window.onload = set_img(window.onload) }
        }
        img.src = sel_url;
    }
    randomSideImg();
    
</script>
</head>
    <body>
        <div id="full_body">
            <header id="header" class="top-section"><img id="headerimg" class="veryrounded" src="/ticky_tacky_dark/img/header_template.png" alt="">
<div id="header-text">tickytackydark</div></header>
            <div id="content" class="top-section">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col col-12 col-sm-8 col-lg-9">
                            <main class="row">
    <div class="col-12 col-sm-5">
        
            <img id="sideimage" class="morerounded" src="/ticky_tacky_dark/img/side_image_template.png" alt="Cool Page Image">
        
    </div>
    <div class="col-12 col-sm-7">
        <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>πŸ™ˆ πŸ™‰ πŸ™Š</p>
<p>πŸ™ˆ πŸ™‰ πŸ™Š</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">.emoji {
font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;
}</code></pre></div>

<details>
    <summary>This demonstrates the dropdown shortcode.  Click this.</summary>
    <ul>
<li>This stuff drops down because you clicked on the text.</li>
<li>Markdown is supported in here.</li>
</ul>
<pre tabindex="0"><code># Code sections can go in here too
</code></pre>
</details>
    </div>

                            </main>
                        </div>
                        <nav class="col col-8 offset-2 col-sm-4 offset-sm-0 col-lg-3"><div class="box morerounded">
    <ul class="navbar">
            <li><a href="https://kc0bfv.github.io/ticky_tacky_dark/">Main</a></li>
            <li><a href="https://kc0bfv.github.io/ticky_tacky_dark/about/">About</a></li>
            <li><a href="https://kc0bfv.github.io/ticky_tacky_dark/markdown-syntax/">Markdown Syntax Guide</a></li>
            <li><a href="https://github.com/kc0bfv/ticky_tacky_dark">Theme Source</a></li>
            <li>Emoji Support</li>
            <li><a href="https://kc0bfv.github.io/ticky_tacky_dark/rich-content/">Rich Content</a></li>
    </ul>
</div>
</nav>
                    </div>
                </div>
            </div>
            <footer id="footer" class="top-section">Webmaster: <a href="mailto:kc0bfv@gmail.com">kc0bfv@gmail.com</a>
</footer></div>
    </body>
    
</html>