Emojitown
Do you ever think to yourself, blogs just aren’t any fun anymore. I mean sure, there’s the 💩 emoji. You could add that to blog post. That’s fun. But then you see the 💩 emoji a few times, and they make a movie about it and the reviewers say that the movie is “so completely devoid of wit, style, intelligence or basic entertainment value that it makes that movie based on the Angry Birds app seem like a pure artistic statement by comparison”, and then you’re like, “Wow, I am bored.”
If you’re bored like that and you have a Hugo blog, you can add any of about 2,500 custom emoji to your site by using the Emojitown Hugo module.
To add Emojitown to your site, add the following to your site’s config file:
[module]
[[module.imports]]
path = "github.com/ianmadd/emojitown"
[[module.imports.mounts]]
source = "data"
target = "data"
[[module.imports.mounts]]
source = "layouts/shortcodes"
target = "layouts/shortcodes"
[[module.imports.mounts]]
source = "static"
target = "static"
The run hugo mod get github.com/ianmadd/emojitown
to add the module to your site.
From there you use Emojitown to add all kinds of custom emoji to your Hugo site.
Do you want spice up your blog by adding a dancing MC Hammer? Just add {{< emojitown emoji="mchammer" >}}
to your blog page and you’ve got MC Hammer dancing all day
. Do you want a dancing Chewbacca
, dancing Ned Flanders
, or a birb at a rave
? Done.
But wait, there’s more!
What if one emoji just doesn’t fully express what you feel about something? Maybe an old man shaking his fist at the clouds
just isn’t strong enough to express how much you dislike something. For those special cases, the emojitown shortcode has the
emojiparty
parameter. If you really don’t like something, just drop a barf party on it like this, {{< emojitown emojiparty="barf" >}}
and tell the world how you really feel.










































The emojitown shortcode looks through the JSON file for every emoji name that partially matches the emojiparty
parameter, and then it displays every matching file. That means that emojiparty="barf"
gets you sigh-barfing.png
, barfing-santa.png
, clown-barf.png
, and every other file that returns a match from the JSON file.
Want to have a dance party? Just add emojiparty="dance"
to emojitown:

























Do you want a parrot wave? We’ve got that.







Whether you did something stupid
, think something is great
, are mildly irritated
,
or are dealing with a disaster
, emojitown has
you covered.
With that, I leave you with the emojiparty party.









































