1
mirror of https://github.com/jakejarvis/hugo-mod-twemoji.git synced 2025-06-27 17:55:40 -04:00

2 Commits

4 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ Give the [Hugo Modules documentation](https://gohugo.io/hugo-modules/) a read to
path = "github.com/jakejarvis/hugo-mod-twemoji"
```
The graphics will be mounted in `static/twemoji/svg` and `static/twemoji/png`, and the [minified script](https://github.com/twitter/twemoji/blob/gh-pages/v/12.1.6/twemoji.min.js) in `static/twemoji/js`.
The graphics will be mounted in `static/twemoji/svg` and `static/twemoji/png`, and the [minified script](https://github.com/twitter/twemoji/blob/gh-pages/v/13.0.1/twemoji.min.js) in `static/twemoji/js`.
Before you start, you'll probably want to [add Twitter's recommended CSS](https://github.com/twitter/twemoji#inline-styles) to your stylesheet to make sure the Twemojis match the size and alignment of the surrounding text — otherwise they'll be humongous:

File diff suppressed because one or more lines are too long

2
go.mod
View File

@ -2,4 +2,4 @@ module github.com/jakejarvis/hugo-mod-twemoji
go 1.13
require github.com/twitter/twemoji v12.1.6+incompatible // indirect
require github.com/twitter/twemoji v13.0.1+incompatible // indirect

4
go.sum
View File

@ -1,2 +1,2 @@
github.com/twitter/twemoji v12.1.6+incompatible h1:0NdsbNwj3m3/tUHn9XuC/kh+6uo3jaZlDptiMFL7vxg=
github.com/twitter/twemoji v12.1.6+incompatible/go.mod h1:06L6PdKuWDx/Yh6s4B7yGkAeBmWZzbFZgfNnWlJPPYM=
github.com/twitter/twemoji v13.0.1+incompatible h1:w1epB4MnDMK11c0jBmCNuVQtRJfRddHm2+gx3z7bmGM=
github.com/twitter/twemoji v13.0.1+incompatible/go.mod h1:06L6PdKuWDx/Yh6s4B7yGkAeBmWZzbFZgfNnWlJPPYM=