This commit is contained in:
Sam Wing 2019-11-18 16:30:12 -05:00
parent c372bda34a
commit 90e205e17b
3 changed files with 14 additions and 1 deletions

View file

@ -69,4 +69,8 @@ yarn start
```
## Setup
Visit `/` on the HTTP server to add an admin account.
Visit `/` on the HTTP server to add an admin account.
## Twemoji
I use Twemoji in this project. Thanks Twitter!
To use Twemoji, USE_CDN must be turned on (it is by default).

View file

@ -42,3 +42,9 @@ ul.noStyle li {
white-space: pre-wrap;
word-break: break-word;
}
img.emoji {
margin: 0px !important;
vertical-align: middle;
width: 2em !important;
}

View file

@ -36,3 +36,6 @@ html(lang='en')
h1 #{config.siteTitle}
include includes/messages.pug
block content
if config.useCDN
script(src='https://twemoji.maxcdn.com/v/latest/twemoji.min.js', crossorigin='anonymous')
script twemoji.parse(document.body)