mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-06 00:33:39 +00:00
922 B
922 B
date, title, authors, categories, tags, emoji
date | title | authors | categories | tags | emoji | |||
---|---|---|---|---|---|---|---|---|
2018-02-27T21:00:00+06:00 | Emoji Support |
|
|
|
true |
First of all, if you really want emojis, set the enableEmoji
setting to true
in your config.toml
file:
enableEmoji = true
This will enable Hugo to find Emoji Shorthands in your content files and render them as Unicode Emoji Characters.
For example:
{{% center %}}
:smiley:
will become 😃
{{%/ center %}}
No, it'll probably not be that colorful! Unless your device's operating system natively supports colorful emojis, you will see a black & white one instead. 🔥
✏️ For getting that colorful look, you will have to add this to your content's frontmatter:
---
emoji: true
---
And where can you find these Emoji Shorthands ❓
🎉 Go take a look at: Emoji Cheat Sheet