forked from janraasch/hugo-bearblog
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
103 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<!doctype html><html lang=en-US><head><meta http-equiv=X-Clacks-Overhead content="GNU Terry Pratchett"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=https://clente.github.io/hugo-bearcub/images/favicon.png><title>Emoji Support | Bear Cub</title> | ||
<meta name=title content="Emoji Support"><meta name=description content="Guide to emoji usage in Hugo"><meta name=keywords content="emoji,"><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://clente.github.io/hugo-bearcub/blog/emoji-support/"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu0f7c7fe460ec4b5e9751ccb8d9c9aa0f_651110_11e46aa56d00ee6da39ead84012a1390.webp"><meta property="article:section" content="blog"><meta property="article:published_time" content="2019-03-05T00:00:00+00:00"><meta property="article:modified_time" content="2019-03-05T00:00:00+00:00"><meta property="og:site_name" content="Bear Cub"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu0f7c7fe460ec4b5e9751ccb8d9c9aa0f_651110_11e46aa56d00ee6da39ead84012a1390.webp"><meta name=twitter:title content="Emoji Support"><meta name=twitter:description content="Guide to emoji usage in Hugo"><meta name=twitter:site content="@example"><meta itemprop=name content="Emoji Support"><meta itemprop=description content="Guide to emoji usage in Hugo"><meta itemprop=datePublished content="2019-03-05T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-05T00:00:00+00:00"><meta itemprop=wordCount content="124"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu0f7c7fe460ec4b5e9751ccb8d9c9aa0f_651110_11e46aa56d00ee6da39ead84012a1390.webp"><meta itemprop=keywords content="emoji,"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/style.min.css rel=stylesheet><link href=/hugo-bearcub/syntax.min.css rel=stylesheet></head><body><header><a class=skip-link href=#main-content>Skip to main content</a> | ||
<meta name=title content="Emoji Support"><meta name=description content="Guide to emoji usage in Hugo"><meta name=keywords content="emoji,"><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://clente.github.io/hugo-bearcub/blog/emoji-support/"><meta property="og:image" content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu0f7c7fe460ec4b5e9751ccb8d9c9aa0f_651110_607f017a42cde8862a8657b4f755046a.webp"><meta property="article:section" content="blog"><meta property="article:published_time" content="2019-03-05T00:00:00+00:00"><meta property="article:modified_time" content="2019-03-05T00:00:00+00:00"><meta property="og:site_name" content="Bear Cub"><meta property="fb:admins" content="0000000000"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu0f7c7fe460ec4b5e9751ccb8d9c9aa0f_651110_607f017a42cde8862a8657b4f755046a.webp"><meta name=twitter:title content="Emoji Support"><meta name=twitter:description content="Guide to emoji usage in Hugo"><meta name=twitter:site content="@example"><meta itemprop=name content="Emoji Support"><meta itemprop=description content="Guide to emoji usage in Hugo"><meta itemprop=datePublished content="2019-03-05T00:00:00+00:00"><meta itemprop=dateModified content="2019-03-05T00:00:00+00:00"><meta itemprop=wordCount content="124"><meta itemprop=image content="https://clente.github.io/hugo-bearcub/images/social_card_bg_hu0f7c7fe460ec4b5e9751ccb8d9c9aa0f_651110_607f017a42cde8862a8657b4f755046a.webp"><meta itemprop=keywords content="emoji,"><meta name=referrer content="no-referrer-when-downgrade"><link href=/hugo-bearcub/style.min.css rel=stylesheet><link href=/hugo-bearcub/syntax.min.css rel=stylesheet></head><body><header><a class=skip-link href=#main-content>Skip to main content</a> | ||
<a href=/hugo-bearcub class=title><h1>Bear Cub</h1></a><nav><a href=/hugo-bearcub/>Home</a> | ||
<a href=/hugo-bearcub/blog/>Blog</a> | ||
<a href=https://clente.github.io/hugo-bearcub/index.xml>RSS</a> | ||
<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:[email protected]?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:[email protected]?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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,12 +162,6 @@ | |
<!-- raw HTML omitted --> | ||
<hr> | ||
<h2 id="vimeo-simple-shortcode">Vimeo Simple Shortcode</h2> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<style> | ||
.__h_video { | ||
position: relative; | ||
|
@@ -192,15 +186,14 @@ | |
position: absolute; | ||
cursor: pointer; | ||
} | ||
</style> | ||
|
||
|
||
<div class="s_video_simple __h_video"> | ||
<a href="https://vimeo.com/4.8912912e+07" rel="noopener" target="_blank"> | ||
|
||
|
||
<img src="https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640" srcset="https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 1x, https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 2x" alt="Sing Jan Swing - Kinetic Type"> | ||
<div class="play"><svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 61 61"><circle cx="30.5" cy="30.5" r="30.5" opacity=".8" fill="#000"></circle><path d="M25.3 19.2c-2.1-1.2-3.8-.2-3.8 2.2v18.1c0 2.4 1.7 3.4 3.8 2.2l16.6-9.1c2.1-1.2 2.1-3.2 0-4.4l-16.6-9z" fill="#fff"></path></svg></div></a></div>]]></content:encoded></item><item><title>Placeholder Text</title><link>https://clente.github.io/hugo-bearcub/blog/placeholder-text/</link><pubDate>Sat, 09 Mar 2019 00:00:00 +0000</pubDate><author>[email protected] (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/placeholder-text/</guid><description><p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p></description><content:encoded><![CDATA[<p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p> | ||
</style><div class="s_video_simple __h_video"> | ||
<a href="https://vimeo.com/4.8912912e+07" rel="noopener" target="_blank"> | ||
<img src="https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640" srcset="https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 1x, https://i.vimeocdn.com/video/337401969-979f0cc9f55fdf305fb8984e90d92639ec9d7ecc4c9dfbc6536e28edb43784ce-d_640 2x" alt="Sing Jan Swing - Kinetic Type"> | ||
<div class="play"> | ||
<svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 61 61"><circle cx="30.5" cy="30.5" r="30.5" opacity=".8" fill="#000"></circle><path d="M25.3 19.2c-2.1-1.2-3.8-.2-3.8 2.2v18.1c0 2.4 1.7 3.4 3.8 2.2l16.6-9.1c2.1-1.2 2.1-3.2 0-4.4l-16.6-9z" fill="#fff"></path></svg> | ||
</div> | ||
</a> | ||
</div>]]></content:encoded></item><item><title>Placeholder Text</title><link>https://clente.github.io/hugo-bearcub/blog/placeholder-text/</link><pubDate>Sat, 09 Mar 2019 00:00:00 +0000</pubDate><author>[email protected] (John Doe)</author><guid>https://clente.github.io/hugo-bearcub/blog/placeholder-text/</guid><description><p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p></description><content:encoded><![CDATA[<p>Lorem est tota propiore conpellat pectoribus de pectora summo.</p> | ||
<p>Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.</p> | ||
<ol> | ||
<li>Exierant elisi ambit vivere dedere</li> | ||
|
Oops, something went wrong.